diff --git a/src/System.ServiceModel.Duplex/ref/System.ServiceModel.Duplex.cs b/src/System.ServiceModel.Duplex/ref/System.ServiceModel.Duplex.cs index 86479316f96..9744b25fc27 100644 --- a/src/System.ServiceModel.Duplex/ref/System.ServiceModel.Duplex.cs +++ b/src/System.ServiceModel.Duplex/ref/System.ServiceModel.Duplex.cs @@ -23,7 +23,9 @@ public partial class DuplexChannelFactory : System.ServiceModel.Channe public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding) : base(default(System.Type)) { } public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(default(System.Type)) { } public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, string remoteAddress) : base(default(System.Type)) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName) : base(default(System.Type)) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(default(System.Type)) { } public override TChannel CreateChannel(System.ServiceModel.EndpointAddress address, System.Uri via) { return default(TChannel); } public TChannel CreateChannel(System.ServiceModel.InstanceContext callbackInstance) { return default(TChannel); } @@ -34,8 +36,11 @@ public abstract partial class DuplexClientBase : System.ServiceModel.C { protected DuplexClientBase(System.ServiceModel.InstanceContext callbackInstance) { } protected DuplexClientBase(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] protected DuplexClientBase(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] protected DuplexClientBase(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] protected DuplexClientBase(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, string remoteAddress) { } } public sealed partial class InstanceContext : System.ServiceModel.Channels.CommunicationObject, System.ServiceModel.IExtensibleObject diff --git a/src/System.ServiceModel.Http/ref/System.ServiceModel.Http.cs b/src/System.ServiceModel.Http/ref/System.ServiceModel.Http.cs index 5ef04ebeb19..c26b3427697 100644 --- a/src/System.ServiceModel.Http/ref/System.ServiceModel.Http.cs +++ b/src/System.ServiceModel.Http/ref/System.ServiceModel.Http.cs @@ -114,6 +114,7 @@ public partial class NetHttpBinding : System.ServiceModel.HttpBindingBase { public NetHttpBinding() { } public NetHttpBinding(System.ServiceModel.BasicHttpSecurityMode securityMode) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public NetHttpBinding(string configurationName) { } [System.ComponentModel.DefaultValueAttribute((System.ServiceModel.NetHttpMessageEncoding)(0))] public System.ServiceModel.NetHttpMessageEncoding MessageEncoding { get { return default(System.ServiceModel.NetHttpMessageEncoding); } set { } } diff --git a/src/System.ServiceModel.NetTcp/ref/System.ServiceModel.NetTcp.cs b/src/System.ServiceModel.NetTcp/ref/System.ServiceModel.NetTcp.cs index 84979ca01bf..e380dea8d6c 100644 --- a/src/System.ServiceModel.NetTcp/ref/System.ServiceModel.NetTcp.cs +++ b/src/System.ServiceModel.NetTcp/ref/System.ServiceModel.NetTcp.cs @@ -17,6 +17,7 @@ public partial class NetTcpBinding : System.ServiceModel.Channels.Binding { public NetTcpBinding() { } public NetTcpBinding(System.ServiceModel.SecurityMode securityMode) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public NetTcpBinding(string configurationName) { } public System.ServiceModel.EnvelopeVersion EnvelopeVersion { get { return default(System.ServiceModel.EnvelopeVersion); } } [System.ComponentModel.DefaultValueAttribute((long)524288)] diff --git a/src/System.ServiceModel.Primitives/ref/System.ServiceModel.Primitives.cs b/src/System.ServiceModel.Primitives/ref/System.ServiceModel.Primitives.cs index c4e53d5ed3a..e47b2cb6af5 100644 --- a/src/System.ServiceModel.Primitives/ref/System.ServiceModel.Primitives.cs +++ b/src/System.ServiceModel.Primitives/ref/System.ServiceModel.Primitives.cs @@ -205,6 +205,7 @@ protected ChannelFactory() { } protected override System.TimeSpan DefaultCloseTimeout { get { return default; } } protected override System.TimeSpan DefaultOpenTimeout { get { return default; } } public System.ServiceModel.Description.ServiceEndpoint Endpoint { get { return default; } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] protected virtual void ApplyConfiguration(string configurationName) { } protected abstract System.ServiceModel.Description.ServiceEndpoint CreateDescription(); protected virtual System.ServiceModel.Channels.IChannelFactory CreateFactory() { return default; } @@ -212,6 +213,7 @@ protected internal void EnsureOpened() { } public T GetProperty() where T : class { return default; } protected void InitializeEndpoint(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress address) { } protected void InitializeEndpoint(System.ServiceModel.Description.ServiceEndpoint endpoint) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] protected void InitializeEndpoint(string configurationName, System.ServiceModel.EndpointAddress address) { } protected override void OnAbort() { } protected override System.IAsyncResult OnBeginClose(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; } @@ -228,7 +230,9 @@ public partial class ChannelFactory : System.ServiceModel.ChannelFacto { public ChannelFactory(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) { } public ChannelFactory(System.ServiceModel.Description.ServiceEndpoint endpoint) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public ChannelFactory(string endpointConfigurationName) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public ChannelFactory(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) { } protected ChannelFactory(System.Type channelType) { } public TChannel CreateChannel() { return default; } @@ -248,8 +252,11 @@ public abstract partial class ClientBase : System.IDisposable, System. protected ClientBase() { } protected ClientBase(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) { } protected ClientBase(System.ServiceModel.Description.ServiceEndpoint endpoint) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] protected ClientBase(string endpointConfigurationName) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] protected ClientBase(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] protected ClientBase(string endpointConfigurationName, string remoteAddress) { } protected TChannel Channel { get { return default; } } public System.ServiceModel.ChannelFactory ChannelFactory { get { return default; } } @@ -320,8 +327,11 @@ void System.ServiceModel.Channels.IOutputChannel.Send(System.ServiceModel.Channe System.ServiceModel.Channels.Message System.ServiceModel.Channels.IRequestChannel.EndRequest(System.IAsyncResult result) { return default; } System.ServiceModel.Channels.Message System.ServiceModel.Channels.IRequestChannel.Request(System.ServiceModel.Channels.Message message) { return default; } System.ServiceModel.Channels.Message System.ServiceModel.Channels.IRequestChannel.Request(System.ServiceModel.Channels.Message message, System.TimeSpan timeout) { return default; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] System.IAsyncResult System.ServiceModel.IClientChannel.BeginDisplayInitializationUI(System.AsyncCallback callback, object state) { return default; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] void System.ServiceModel.IClientChannel.DisplayInitializationUI() { } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] void System.ServiceModel.IClientChannel.EndDisplayInitializationUI(System.IAsyncResult result) { } void System.ServiceModel.ICommunicationObject.Abort() { } System.IAsyncResult System.ServiceModel.ICommunicationObject.BeginClose(System.AsyncCallback callback, object state) { return default; } diff --git a/src/System.ServiceModel.Security/ref/System.ServiceModel.Security.cs b/src/System.ServiceModel.Security/ref/System.ServiceModel.Security.cs index df9d8da479d..f8c803677c8 100644 --- a/src/System.ServiceModel.Security/ref/System.ServiceModel.Security.cs +++ b/src/System.ServiceModel.Security/ref/System.ServiceModel.Security.cs @@ -205,12 +205,12 @@ namespace System.IdentityModel.Tokens { public partial class GenericXmlSecurityToken : System.IdentityModel.Tokens.SecurityToken { - public GenericXmlSecurityToken(System.Xml.XmlElement tokenXml, - System.IdentityModel.Tokens.SecurityToken proofToken, - DateTime effectiveTime, - DateTime expirationTime, - SecurityKeyIdentifierClause internalTokenReference, - SecurityKeyIdentifierClause externalTokenReference, + public GenericXmlSecurityToken(System.Xml.XmlElement tokenXml, + System.IdentityModel.Tokens.SecurityToken proofToken, + DateTime effectiveTime, + DateTime expirationTime, + SecurityKeyIdentifierClause internalTokenReference, + SecurityKeyIdentifierClause externalTokenReference, System.Collections.ObjectModel.ReadOnlyCollection authorizationPolicies) {} public override string Id { get; } public override DateTime ValidFrom { get; }