#if SYSTEM_NET_SOCKETS_DLL
namespace System.Net.Sockets
+{
+ public
#else
using System.Net.Sockets;
namespace System.Net.Internals
-#endif
{
- public enum ProtocolFamily
+ internal
+#endif
+ enum ProtocolFamily
{
Unknown = AddressFamily.Unknown,
Unspecified = AddressFamily.Unspecified,
#if SYSTEM_NET_SOCKETS_DLL
namespace System.Net.Sockets
+{
+ public
#else
namespace System.Net.Internals
-#endif
{
+ internal
+#endif
// Specifies the protocols that the Socket class supports.
- public enum ProtocolType
+ enum ProtocolType
{
IP = 0, // dummy for IP
+++ /dev/null
-Compat issues with assembly System.Net.NameResolution:
-TypesMustExist : Type 'System.Net.Internals.ProtocolFamily' does not exist in the reference but it does exist in the implementation.
-TypesMustExist : Type 'System.Net.Internals.ProtocolType' does not exist in the reference but it does exist in the implementation.
-Total Issues: 2
+# Public in the implementation to maintain binary serialization compatibility as the System shim needs to have access to type-forward to these
Compat issues with assembly System.Net.Primitives:
TypesMustExist : Type 'System.Net.CookieVariant' does not exist in the reference but it does exist in the implementation.
TypesMustExist : Type 'System.Net.PathList' does not exist in the reference but it does exist in the implementation.
+++ /dev/null
-Compat issues with assembly System.Net.Requests:
-MembersMustExist : Member 'public void System.Net.HttpWebRequest..ctor()' does not exist in the reference but it does exist in the implementation.
-Total Issues: 1
private const string ChunkedHeader = "chunked";
[Obsolete(Obsoletions.WebRequestMessage, DiagnosticId = Obsoletions.WebRequestDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
- public HttpWebRequest()
- {
- }
-
- [Obsolete(Obsoletions.WebRequestMessage, DiagnosticId = Obsoletions.WebRequestDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
protected HttpWebRequest(SerializationInfo serializationInfo, StreamingContext streamingContext) : base(serializationInfo, streamingContext)
{
throw new PlatformNotSupportedException();