-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark Windows-specific APIs #138
Conversation
e391b7d
to
066cd2b
Compare
* **X509Chain** | ||
- `.ctor(IntPtr)` | ||
|
||
### System.ServiceModel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Someone familiar with WCF will need to comment on this section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have zero api's which are Windows specific.
FYI. I've done a run for .NET 5 and the latest |
3909780
to
242ba7b
Compare
@akoeplinger I've rebased out the Excel file 🙂 |
|
||
## Open Issues | ||
|
||
* We should run the tool again .NET 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* We should run the tool again .NET 5 | |
* We should run the tool against .NET 5 |
- `CreateBindingElements()` | ||
* **ChannelFactory** | ||
- `.ctor(Binding, EndpointAddress)` | ||
- `.ctor(ServiceEndpoint)` | ||
- `.ctor(String)` | ||
- `.ctor(String, EndpointAddress)` | ||
- `ApplyConfiguration(String)` | ||
- `CreateDescription()` | ||
- `InitializeEndpoint(Binding, EndpointAddress)` | ||
- `InitializeEndpoint(ServiceEndpoint)` | ||
- `InitializeEndpoint(String, EndpointAddress)` | ||
* **ChannelTerminatedException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **ClientBase** | ||
- `.ctor()` | ||
- `.ctor(String)` | ||
- `.ctor(String, EndpointAddress)` | ||
- `.ctor(String, String)` | ||
* **ClientBase+ChannelBase** | ||
- `EndInvoke(String, Object[], IAsyncResult)` | ||
* **ClientCredentialsSecurityTokenManager** | ||
- `CreateSecurityTokenAuthenticator(SecurityTokenRequirement, SecurityTokenResolver)` | ||
- `CreateSecurityTokenProvider(SecurityTokenRequirement)` | ||
- `CreateSecurityTokenSerializer(SecurityTokenVersion)` | ||
* **CommunicationException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **CommunicationObjectAbortedException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **CommunicationObjectFaultedException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **DuplexChannelFactory** | ||
- `.ctor(InstanceContext, Binding, EndpointAddress)` | ||
- `.ctor(InstanceContext, Binding, String)` | ||
- `.ctor(InstanceContext, String)` | ||
- `.ctor(InstanceContext, String, EndpointAddress)` | ||
* **DuplexClientBase** | ||
- `.ctor(InstanceContext)` | ||
- `.ctor(InstanceContext, String)` | ||
- `.ctor(InstanceContext, String, EndpointAddress)` | ||
- `.ctor(InstanceContext, String, String)` | ||
* **EndpointAddress** | ||
- `ApplyTo(Message)` | ||
* **EndpointIdentity** | ||
- `Equals(Object)` | ||
- `GetHashCode()` | ||
* **EndpointNotFoundException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **FaultException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **InvalidMessageContractException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **MessageHeaderException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **MessageSecurityOverTcp** | ||
- `get_ClientCredentialType()` | ||
- `set_ClientCredentialType(MessageCredentialType)` | ||
* **NetHttpBinding** | ||
- `CreateBindingElements()` | ||
* **NetHttpsBinding** | ||
- `.ctor()` | ||
- `.ctor(BasicHttpsSecurityMode)` | ||
- `CreateBindingElements()` | ||
* **NetTcpBinding** | ||
- `.ctor(String)` | ||
- `CreateBindingElements()` | ||
* **ProtocolException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **QuotaExceededException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **ServerTooBusyException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **ServiceActivationException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
|
||
### System.ServiceModel.Channels | ||
|
||
* **AddressHeader** | ||
- `Equals(Object)` | ||
- `GetHashCode()` | ||
* **MessageHeaders** | ||
- `set_To(Uri)` | ||
* **SecurityBindingElement** | ||
- `CreateSecureConversationBindingElement(SecurityBindingElement)` | ||
* **TransportSecurityBindingElement** | ||
- `GetProperty<T>(BindingContext)` | ||
* **WebSocketTransportSettings** | ||
- `get_DisablePayloadMasking()` | ||
- `set_DisablePayloadMasking(Boolean)` | ||
|
||
### System.ServiceModel.Security | ||
|
||
* **MessageSecurityException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **SecurityAccessDeniedException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **SecurityNegotiationException** | ||
- `.ctor(SerializationInfo, StreamingContext)` | ||
* **X509ServiceCertificateAuthentication** | ||
- `set_CertificateValidationMode(X509CertificateValidationMode)` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per @mconnew's comment, this suggestion will remove the ServiceModel
types.
### System.ServiceModel | |
* **ActionNotSupportedException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
- `.ctor(String, Exception)` | |
* **BasicHttpBinding** | |
- `.ctor()` | |
- `.ctor(BasicHttpSecurityMode)` | |
- `CreateBindingElements()` | |
* **BasicHttpsBinding** | |
- `.ctor()` | |
- `.ctor(BasicHttpsSecurityMode)` | |
- `CreateBindingElements()` | |
* **ChannelFactory** | |
- `.ctor(Binding, EndpointAddress)` | |
- `.ctor(ServiceEndpoint)` | |
- `.ctor(String)` | |
- `.ctor(String, EndpointAddress)` | |
- `ApplyConfiguration(String)` | |
- `CreateDescription()` | |
- `InitializeEndpoint(Binding, EndpointAddress)` | |
- `InitializeEndpoint(ServiceEndpoint)` | |
- `InitializeEndpoint(String, EndpointAddress)` | |
* **ChannelTerminatedException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **ClientBase** | |
- `.ctor()` | |
- `.ctor(String)` | |
- `.ctor(String, EndpointAddress)` | |
- `.ctor(String, String)` | |
* **ClientBase+ChannelBase** | |
- `EndInvoke(String, Object[], IAsyncResult)` | |
* **ClientCredentialsSecurityTokenManager** | |
- `CreateSecurityTokenAuthenticator(SecurityTokenRequirement, SecurityTokenResolver)` | |
- `CreateSecurityTokenProvider(SecurityTokenRequirement)` | |
- `CreateSecurityTokenSerializer(SecurityTokenVersion)` | |
* **CommunicationException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **CommunicationObjectAbortedException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **CommunicationObjectFaultedException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **DuplexChannelFactory** | |
- `.ctor(InstanceContext, Binding, EndpointAddress)` | |
- `.ctor(InstanceContext, Binding, String)` | |
- `.ctor(InstanceContext, String)` | |
- `.ctor(InstanceContext, String, EndpointAddress)` | |
* **DuplexClientBase** | |
- `.ctor(InstanceContext)` | |
- `.ctor(InstanceContext, String)` | |
- `.ctor(InstanceContext, String, EndpointAddress)` | |
- `.ctor(InstanceContext, String, String)` | |
* **EndpointAddress** | |
- `ApplyTo(Message)` | |
* **EndpointIdentity** | |
- `Equals(Object)` | |
- `GetHashCode()` | |
* **EndpointNotFoundException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **FaultException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **InvalidMessageContractException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **MessageHeaderException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **MessageSecurityOverTcp** | |
- `get_ClientCredentialType()` | |
- `set_ClientCredentialType(MessageCredentialType)` | |
* **NetHttpBinding** | |
- `CreateBindingElements()` | |
* **NetHttpsBinding** | |
- `.ctor()` | |
- `.ctor(BasicHttpsSecurityMode)` | |
- `CreateBindingElements()` | |
* **NetTcpBinding** | |
- `.ctor(String)` | |
- `CreateBindingElements()` | |
* **ProtocolException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **QuotaExceededException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **ServerTooBusyException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **ServiceActivationException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
### System.ServiceModel.Channels | |
* **AddressHeader** | |
- `Equals(Object)` | |
- `GetHashCode()` | |
* **MessageHeaders** | |
- `set_To(Uri)` | |
* **SecurityBindingElement** | |
- `CreateSecureConversationBindingElement(SecurityBindingElement)` | |
* **TransportSecurityBindingElement** | |
- `GetProperty<T>(BindingContext)` | |
* **WebSocketTransportSettings** | |
- `get_DisablePayloadMasking()` | |
- `set_DisablePayloadMasking(Boolean)` | |
### System.ServiceModel.Security | |
* **MessageSecurityException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **SecurityAccessDeniedException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **SecurityNegotiationException** | |
- `.ctor(SerializationInfo, StreamingContext)` | |
* **X509ServiceCertificateAuthentication** | |
- `set_CertificateValidationMode(X509CertificateValidationMode)` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we know what caused them to show up here in the first place?
- `EnterDebugMode()` | ||
- `LeaveDebugMode()` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these two are nops
and to be consistent with other nops, we should remove them from the list
context: https://github.com/dotnet/designs/pull/138/files#r454448405
- `EnterDebugMode()` | |
- `LeaveDebugMode()` |
### System.IO.Pipes | ||
|
||
* **NamedPipeClientStream** | ||
- `Connect(Int32)` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see a code path where Connect(Int32)
throws on Unix.
- `Connect(Int32)` |
* **NamedPipeServerStream** | ||
- `WaitForConnection()` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's supported on Unix: https://github.com/dotnet/runtime/blob/08643df14054d1273002254c909fa099649ebfcf/src/libraries/System.IO.Pipes/src/System/IO/Pipes/NamedPipeServerStream.Unix.cs#L54-L66
* **NamedPipeServerStream** | |
- `WaitForConnection()` |
* **Socket** | ||
- `SetIPProtectionLevel(IPProtectionLevel)` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* **Socket** | |
- `SetIPProtectionLevel(IPProtectionLevel)` | |
* **Socket** | |
- `.ctor(SocketInformation)` | |
- `SetIPProtectionLevel(IPProtectionLevel)` |
|
||
* **DriveInfo** | ||
- `set_VolumeLabel(String)` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### System.IO.FileSystem | |
* **File** | |
- `Decrypt(string)` | |
- `Encrypt(string)` |
FWIW I've done some simple manual search of keyword "PlatformNotSupportedException" in My PR is ready dotnet/runtime#39265 |
No description provided.