Skip to content

Commit

Permalink
Added EditorBrowsable attribute to unsupported methods to hide from i…
Browse files Browse the repository at this point in the history
…ntellisense
  • Loading branch information
mconnew authored and StephenBonikowsky committed Nov 4, 2019
1 parent d933f40 commit 0ed7c73
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ public partial class DuplexChannelFactory<TChannel> : 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); }
Expand All @@ -34,8 +36,11 @@ public abstract partial class DuplexClientBase<TChannel> : 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<System.ServiceModel.InstanceContext>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 { } }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,15 @@ 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; }
protected internal void EnsureOpened() { }
public T GetProperty<T>() 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; }
Expand All @@ -228,7 +230,9 @@ public partial class ChannelFactory<TChannel> : 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; }
Expand All @@ -248,8 +252,11 @@ public abstract partial class ClientBase<TChannel> : 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<TChannel> ChannelFactory { get { return default; } }
Expand Down Expand Up @@ -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; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<System.IdentityModel.Policy.IAuthorizationPolicy> authorizationPolicies) {}
public override string Id { get; }
public override DateTime ValidFrom { get; }
Expand Down

0 comments on commit 0ed7c73

Please sign in to comment.