diff --git a/src/libraries/System.Net.HttpListener/src/System.Net.HttpListener.csproj b/src/libraries/System.Net.HttpListener/src/System.Net.HttpListener.csproj index e3b485eb99b73c..2785b3161c2b64 100644 --- a/src/libraries/System.Net.HttpListener/src/System.Net.HttpListener.csproj +++ b/src/libraries/System.Net.HttpListener/src/System.Net.HttpListener.csproj @@ -193,7 +193,6 @@ - diff --git a/src/libraries/System.Net.Mail/System.Net.Mail.sln b/src/libraries/System.Net.Mail/System.Net.Mail.sln index 5ed784cddea1eb..b64eaa8fad7395 100644 --- a/src/libraries/System.Net.Mail/System.Net.Mail.sln +++ b/src/libraries/System.Net.Mail/System.Net.Mail.sln @@ -31,8 +31,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Primitives", ".. EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Security", "..\System.Net.Security\ref\System.Net.Security.csproj", "{63AD4246-28A6-4FFC-9864-F49BE7EA06A0}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.ServicePoint", "..\System.Net.ServicePoint\ref\System.Net.ServicePoint.csproj", "{0FC3D1DF-6D65-4319-967D-CD3870500060}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.ObjectModel", "..\System.ObjectModel\ref\System.ObjectModel.csproj", "{15058CBC-DF6D-4B1A-A9B1-C4B6ADF2B8A5}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComInterfaceGenerator", "..\System.Runtime.InteropServices\gen\ComInterfaceGenerator\ComInterfaceGenerator.csproj", "{628EF453-C5BA-437B-9467-A037E19C945E}" @@ -153,10 +151,6 @@ Global {63AD4246-28A6-4FFC-9864-F49BE7EA06A0}.Debug|Any CPU.Build.0 = Debug|Any CPU {63AD4246-28A6-4FFC-9864-F49BE7EA06A0}.Release|Any CPU.ActiveCfg = Release|Any CPU {63AD4246-28A6-4FFC-9864-F49BE7EA06A0}.Release|Any CPU.Build.0 = Release|Any CPU - {0FC3D1DF-6D65-4319-967D-CD3870500060}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0FC3D1DF-6D65-4319-967D-CD3870500060}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0FC3D1DF-6D65-4319-967D-CD3870500060}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0FC3D1DF-6D65-4319-967D-CD3870500060}.Release|Any CPU.Build.0 = Release|Any CPU {15058CBC-DF6D-4B1A-A9B1-C4B6ADF2B8A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {15058CBC-DF6D-4B1A-A9B1-C4B6ADF2B8A5}.Debug|Any CPU.Build.0 = Debug|Any CPU {15058CBC-DF6D-4B1A-A9B1-C4B6ADF2B8A5}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -245,7 +239,6 @@ Global {A743A5C2-5DE7-433B-A623-893B0BAE83D8} = {A08D08E8-610F-47A0-8747-01223F9430C5} {CB0B59AC-EDF4-4900-AFA1-8D9FBBD1355B} = {A08D08E8-610F-47A0-8747-01223F9430C5} {63AD4246-28A6-4FFC-9864-F49BE7EA06A0} = {A08D08E8-610F-47A0-8747-01223F9430C5} - {0FC3D1DF-6D65-4319-967D-CD3870500060} = {A08D08E8-610F-47A0-8747-01223F9430C5} {15058CBC-DF6D-4B1A-A9B1-C4B6ADF2B8A5} = {A08D08E8-610F-47A0-8747-01223F9430C5} {D73EDC80-4293-4F5F-876C-5375AB40562D} = {A08D08E8-610F-47A0-8747-01223F9430C5} {C693DF8E-4146-4EED-903A-FBB725D83595} = {A08D08E8-610F-47A0-8747-01223F9430C5} diff --git a/src/libraries/System.Net.Mail/ref/System.Net.Mail.csproj b/src/libraries/System.Net.Mail/ref/System.Net.Mail.csproj index dc80246919d3c0..26e17b8b347788 100644 --- a/src/libraries/System.Net.Mail/ref/System.Net.Mail.csproj +++ b/src/libraries/System.Net.Mail/ref/System.Net.Mail.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/libraries/System.Net.Mail/src/System.Net.Mail.csproj b/src/libraries/System.Net.Mail/src/System.Net.Mail.csproj index e43d4edcba91f2..5013159b564af1 100644 --- a/src/libraries/System.Net.Mail/src/System.Net.Mail.csproj +++ b/src/libraries/System.Net.Mail/src/System.Net.Mail.csproj @@ -147,7 +147,6 @@ - diff --git a/src/libraries/System.Net.Requests/System.Net.Requests.sln b/src/libraries/System.Net.Requests/System.Net.Requests.sln index 890e94e5f33769..6b955565c77bae 100644 --- a/src/libraries/System.Net.Requests/System.Net.Requests.sln +++ b/src/libraries/System.Net.Requests/System.Net.Requests.sln @@ -27,8 +27,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Requests.Tests", EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Security", "..\System.Net.Security\ref\System.Net.Security.csproj", "{0F98EB0F-47BC-4FA8-AAF9-984EA5EA82F6}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.ServicePoint", "..\System.Net.ServicePoint\ref\System.Net.ServicePoint.csproj", "{3591028D-F67E-49B9-A102-13D213A8322F}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.WebHeaderCollection", "..\System.Net.WebHeaderCollection\ref\System.Net.WebHeaderCollection.csproj", "{039447FE-18F8-4BB1-9635-7CCA2B3E0D57}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.ObjectModel", "..\System.ObjectModel\ref\System.ObjectModel.csproj", "{65D5CFD7-A40B-43D4-B17C-DC3AA8857224}" @@ -73,6 +71,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "tools\ref", "{213121 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{0CCB356A-4A4E-4CDB-8407-BF91880E5E9A}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.ServicePoint.Tests", "tests\ServicePointTests\System.Net.ServicePoint.Tests.csproj", "{A7864A13-E626-4124-9A4C-61BD77C4CBB8}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -135,10 +135,6 @@ Global {0F98EB0F-47BC-4FA8-AAF9-984EA5EA82F6}.Debug|Any CPU.Build.0 = Debug|Any CPU {0F98EB0F-47BC-4FA8-AAF9-984EA5EA82F6}.Release|Any CPU.ActiveCfg = Release|Any CPU {0F98EB0F-47BC-4FA8-AAF9-984EA5EA82F6}.Release|Any CPU.Build.0 = Release|Any CPU - {3591028D-F67E-49B9-A102-13D213A8322F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3591028D-F67E-49B9-A102-13D213A8322F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3591028D-F67E-49B9-A102-13D213A8322F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3591028D-F67E-49B9-A102-13D213A8322F}.Release|Any CPU.Build.0 = Release|Any CPU {039447FE-18F8-4BB1-9635-7CCA2B3E0D57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {039447FE-18F8-4BB1-9635-7CCA2B3E0D57}.Debug|Any CPU.Build.0 = Debug|Any CPU {039447FE-18F8-4BB1-9635-7CCA2B3E0D57}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -195,6 +191,10 @@ Global {F01F38EB-B9A4-46EA-B11C-AE5C65BD0371}.Debug|Any CPU.Build.0 = Debug|Any CPU {F01F38EB-B9A4-46EA-B11C-AE5C65BD0371}.Release|Any CPU.ActiveCfg = Release|Any CPU {F01F38EB-B9A4-46EA-B11C-AE5C65BD0371}.Release|Any CPU.Build.0 = Release|Any CPU + {A7864A13-E626-4124-9A4C-61BD77C4CBB8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A7864A13-E626-4124-9A4C-61BD77C4CBB8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A7864A13-E626-4124-9A4C-61BD77C4CBB8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A7864A13-E626-4124-9A4C-61BD77C4CBB8}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -213,7 +213,6 @@ Global {A9FABDAE-CB4B-4EEE-87CE-89CE22810E2F} = {DB20495E-C9F0-4640-85A6-ACEF17C21670} {60B3EE55-D545-4817-A57D-99F38CBCD1A8} = {DB20495E-C9F0-4640-85A6-ACEF17C21670} {0F98EB0F-47BC-4FA8-AAF9-984EA5EA82F6} = {DB20495E-C9F0-4640-85A6-ACEF17C21670} - {3591028D-F67E-49B9-A102-13D213A8322F} = {DB20495E-C9F0-4640-85A6-ACEF17C21670} {039447FE-18F8-4BB1-9635-7CCA2B3E0D57} = {DB20495E-C9F0-4640-85A6-ACEF17C21670} {65D5CFD7-A40B-43D4-B17C-DC3AA8857224} = {DB20495E-C9F0-4640-85A6-ACEF17C21670} {3091C143-0DE3-4AF8-8F19-87DA0F0F2E5F} = {DB20495E-C9F0-4640-85A6-ACEF17C21670} @@ -232,6 +231,7 @@ Global {8F842012-E5B7-4806-BF53-7F1EDAC7F4DD} = {0CCB356A-4A4E-4CDB-8407-BF91880E5E9A} {F01F38EB-B9A4-46EA-B11C-AE5C65BD0371} = {213121F9-0C28-4322-A0F0-07B6C5818923} {213121F9-0C28-4322-A0F0-07B6C5818923} = {0CCB356A-4A4E-4CDB-8407-BF91880E5E9A} + {A7864A13-E626-4124-9A4C-61BD77C4CBB8} = {2E80965D-0AB1-451E-AFE5-E4CAF49EE8E3} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {D33CD477-CBDE-47CC-BDAB-7E9469CE3549} diff --git a/src/libraries/System.Net.Requests/ref/System.Net.Requests.cs b/src/libraries/System.Net.Requests/ref/System.Net.Requests.cs index 52c05789d9ae52..cd52c0bfb0c6ba 100644 --- a/src/libraries/System.Net.Requests/ref/System.Net.Requests.cs +++ b/src/libraries/System.Net.Requests/ref/System.Net.Requests.cs @@ -453,6 +453,65 @@ protected virtual void GetObjectData(System.Runtime.Serialization.SerializationI [System.ObsoleteAttribute("Serialization has been deprecated for WebResponse.")] void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { } } + public delegate System.Net.IPEndPoint BindIPEndPoint(System.Net.ServicePoint servicePoint, System.Net.IPEndPoint remoteEndPoint, int retryCount); + [System.FlagsAttribute] + public enum SecurityProtocolType + { + SystemDefault = 0, + [System.ObsoleteAttribute("SecurityProtocolType.Ssl3 has been deprecated and is not supported.")] + Ssl3 = 48, + Tls = 192, + Tls11 = 768, + Tls12 = 3072, + Tls13 = 12288, + } + public partial class ServicePoint + { + internal ServicePoint() { } + public System.Uri Address { get { throw null; } } + public System.Net.BindIPEndPoint? BindIPEndPointDelegate { get { throw null; } set { } } + public System.Security.Cryptography.X509Certificates.X509Certificate? Certificate { get { throw null; } } + public System.Security.Cryptography.X509Certificates.X509Certificate? ClientCertificate { get { throw null; } } + public int ConnectionLeaseTimeout { get { throw null; } set { } } + public int ConnectionLimit { get { throw null; } set { } } + public string ConnectionName { get { throw null; } } + public int CurrentConnections { get { throw null; } } + public bool Expect100Continue { get { throw null; } set { } } + public System.DateTime IdleSince { get { throw null; } } + public int MaxIdleTime { get { throw null; } set { } } + public virtual System.Version ProtocolVersion { get { throw null; } } + public int ReceiveBufferSize { get { throw null; } set { } } + public bool SupportsPipelining { get { throw null; } } + public bool UseNagleAlgorithm { get { throw null; } set { } } + public bool CloseConnectionGroup(string connectionGroupName) { throw null; } + public void SetTcpKeepAlive(bool enabled, int keepAliveTime, int keepAliveInterval) { } + } + public partial class ServicePointManager + { + internal ServicePointManager() { } + public const int DefaultNonPersistentConnectionLimit = 4; + public const int DefaultPersistentConnectionLimit = 2; + public static bool CheckCertificateRevocationList { get { throw null; } set { } } + public static int DefaultConnectionLimit { get { throw null; } set { } } + public static int DnsRefreshTimeout { get { throw null; } set { } } + public static bool EnableDnsRoundRobin { get { throw null; } set { } } + [System.Runtime.Versioning.UnsupportedOSPlatform("browser")] + public static System.Net.Security.EncryptionPolicy EncryptionPolicy { get { throw null; } } + public static bool Expect100Continue { get { throw null; } set { } } + public static int MaxServicePointIdleTime { get { throw null; } set { } } + public static int MaxServicePoints { get { throw null; } set { } } + public static bool ReusePort { get { throw null; } set { } } + public static System.Net.SecurityProtocolType SecurityProtocol { get { throw null; } set { } } + public static System.Net.Security.RemoteCertificateValidationCallback? ServerCertificateValidationCallback { get { throw null; } set { } } + public static bool UseNagleAlgorithm { get { throw null; } set { } } + [System.ObsoleteAttribute("WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.", DiagnosticId = "SYSLIB0014", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Net.ServicePoint FindServicePoint(string uriString, System.Net.IWebProxy? proxy) { throw null; } + [System.ObsoleteAttribute("WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.", DiagnosticId = "SYSLIB0014", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Net.ServicePoint FindServicePoint(System.Uri address) { throw null; } + [System.ObsoleteAttribute("WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.", DiagnosticId = "SYSLIB0014", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + public static System.Net.ServicePoint FindServicePoint(System.Uri address, System.Net.IWebProxy? proxy) { throw null; } + public static void SetTcpKeepAlive(bool enabled, int keepAliveTime, int keepAliveInterval) { } + } } namespace System.Net.Cache { diff --git a/src/libraries/System.Net.Requests/ref/System.Net.Requests.csproj b/src/libraries/System.Net.Requests/ref/System.Net.Requests.csproj index de51e9b582e41d..141529fdbc3733 100644 --- a/src/libraries/System.Net.Requests/ref/System.Net.Requests.csproj +++ b/src/libraries/System.Net.Requests/ref/System.Net.Requests.csproj @@ -14,7 +14,6 @@ - diff --git a/src/libraries/System.Net.Requests/src/Resources/Strings.resx b/src/libraries/System.Net.Requests/src/Resources/Strings.resx index f8ac54eb739cdd..274097ae4e9a11 100644 --- a/src/libraries/System.Net.Requests/src/Resources/Strings.resx +++ b/src/libraries/System.Net.Requests/src/Resources/Strings.resx @@ -258,4 +258,7 @@ The request was aborted: The request cache-only policy does not allow a network request and the response is not found in cache. + + The ServicePointManager does not support proxies with the {0} scheme. + diff --git a/src/libraries/System.Net.Requests/src/System.Net.Requests.csproj b/src/libraries/System.Net.Requests/src/System.Net.Requests.csproj index 211f0deb7a6140..52318dcbf88514 100644 --- a/src/libraries/System.Net.Requests/src/System.Net.Requests.csproj +++ b/src/libraries/System.Net.Requests/src/System.Net.Requests.csproj @@ -52,6 +52,10 @@ + + + + + @@ -106,7 +111,6 @@ - diff --git a/src/libraries/System.Net.ServicePoint/src/System/Net/BindIPEndPoint.cs b/src/libraries/System.Net.Requests/src/System/Net/ServicePoint/BindIPEndPoint.cs similarity index 100% rename from src/libraries/System.Net.ServicePoint/src/System/Net/BindIPEndPoint.cs rename to src/libraries/System.Net.Requests/src/System/Net/ServicePoint/BindIPEndPoint.cs diff --git a/src/libraries/System.Net.ServicePoint/src/System/Net/SecurityProtocolType.cs b/src/libraries/System.Net.Requests/src/System/Net/ServicePoint/SecurityProtocolType.cs similarity index 100% rename from src/libraries/System.Net.ServicePoint/src/System/Net/SecurityProtocolType.cs rename to src/libraries/System.Net.Requests/src/System/Net/ServicePoint/SecurityProtocolType.cs diff --git a/src/libraries/System.Net.ServicePoint/src/System/Net/ServicePoint.cs b/src/libraries/System.Net.Requests/src/System/Net/ServicePoint/ServicePoint.cs similarity index 100% rename from src/libraries/System.Net.ServicePoint/src/System/Net/ServicePoint.cs rename to src/libraries/System.Net.Requests/src/System/Net/ServicePoint/ServicePoint.cs diff --git a/src/libraries/System.Net.ServicePoint/src/System/Net/ServicePointManager.cs b/src/libraries/System.Net.Requests/src/System/Net/ServicePoint/ServicePointManager.cs similarity index 100% rename from src/libraries/System.Net.ServicePoint/src/System/Net/ServicePointManager.cs rename to src/libraries/System.Net.Requests/src/System/Net/ServicePoint/ServicePointManager.cs diff --git a/src/libraries/System.Net.ServicePoint/tests/ServicePointManagerTest.cs b/src/libraries/System.Net.Requests/tests/ServicePointTests/ServicePointManagerTest.cs similarity index 100% rename from src/libraries/System.Net.ServicePoint/tests/ServicePointManagerTest.cs rename to src/libraries/System.Net.Requests/tests/ServicePointTests/ServicePointManagerTest.cs diff --git a/src/libraries/System.Net.ServicePoint/tests/System.Net.ServicePoint.Tests.csproj b/src/libraries/System.Net.Requests/tests/ServicePointTests/System.Net.ServicePoint.Tests.csproj similarity index 86% rename from src/libraries/System.Net.ServicePoint/tests/System.Net.ServicePoint.Tests.csproj rename to src/libraries/System.Net.Requests/tests/ServicePointTests/System.Net.ServicePoint.Tests.csproj index a938a52f9e3295..ee7e7c37eaf886 100644 --- a/src/libraries/System.Net.ServicePoint/tests/System.Net.ServicePoint.Tests.csproj +++ b/src/libraries/System.Net.Requests/tests/ServicePointTests/System.Net.ServicePoint.Tests.csproj @@ -4,6 +4,7 @@ $(NetCoreAppCurrent) $(NoWarn);SYSLIB0014 + true diff --git a/src/libraries/System.Net.ServicePoint/tests/TlsSystemDefault.cs b/src/libraries/System.Net.Requests/tests/ServicePointTests/TlsSystemDefault.cs similarity index 100% rename from src/libraries/System.Net.ServicePoint/tests/TlsSystemDefault.cs rename to src/libraries/System.Net.Requests/tests/ServicePointTests/TlsSystemDefault.cs diff --git a/src/libraries/System.Net.ServicePoint/tests/XunitAssemblyAttributes.cs b/src/libraries/System.Net.Requests/tests/ServicePointTests/XunitAssemblyAttributes.cs similarity index 100% rename from src/libraries/System.Net.ServicePoint/tests/XunitAssemblyAttributes.cs rename to src/libraries/System.Net.Requests/tests/ServicePointTests/XunitAssemblyAttributes.cs diff --git a/src/libraries/System.Net.ServicePoint/System.Net.ServicePoint.sln b/src/libraries/System.Net.ServicePoint/System.Net.ServicePoint.sln deleted file mode 100644 index 8fc87f79d53f99..00000000000000 --- a/src/libraries/System.Net.ServicePoint/System.Net.ServicePoint.sln +++ /dev/null @@ -1,190 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestUtilities", "..\Common\tests\TestUtilities\TestUtilities.csproj", "{1A05E494-230E-439C-9912-33B1A01D0A31}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Win32.Primitives", "..\Microsoft.Win32.Primitives\ref\Microsoft.Win32.Primitives.csproj", "{B5D741AF-7759-4046-939C-A32AC3482DE1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Collections.NonGeneric", "..\System.Collections.NonGeneric\ref\System.Collections.NonGeneric.csproj", "{1F1F8FBD-3346-45DB-BC80-97F5E3BC1463}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Collections", "..\System.Collections\ref\System.Collections.csproj", "{9924D33E-1388-4C93-9503-5714D7900DBB}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Formats.Asn1", "..\System.Formats.Asn1\ref\System.Formats.Asn1.csproj", "{6294AA9D-C657-45FF-84B9-671292FD4D9B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Memory", "..\System.Memory\ref\System.Memory.csproj", "{C7CACA66-1CC5-41FB-ABC4-445296898584}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Primitives", "..\System.Net.Primitives\ref\System.Net.Primitives.csproj", "{5B1D14C2-8FC1-4C30-BC58-4CCD1150BCF9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Security", "..\System.Net.Security\ref\System.Net.Security.csproj", "{47125A8A-7B7A-488D-A182-FBC5A01FB9EF}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.ServicePoint", "ref\System.Net.ServicePoint.csproj", "{024702F2-6C9B-483E-A229-22F8FB97517C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.ServicePoint", "src\System.Net.ServicePoint.csproj", "{3AE6973A-7E59-4F78-8B3F-FFBFEF38D89A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.ServicePoint.Tests", "tests\System.Net.ServicePoint.Tests.csproj", "{550C82C8-F7C2-4EB6-B2C0-87523C2E6640}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LibraryImportGenerator", "..\System.Runtime.InteropServices\gen\LibraryImportGenerator\LibraryImportGenerator.csproj", "{11937440-4272-4B21-A536-230B62BD8D07}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Interop.SourceGeneration", "..\System.Runtime.InteropServices\gen\Microsoft.Interop.SourceGeneration\Microsoft.Interop.SourceGeneration.csproj", "{A16FDE31-C850-412B-9541-3210D5D48AE1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Runtime.InteropServices", "..\System.Runtime.InteropServices\ref\System.Runtime.InteropServices.csproj", "{A02C2610-9EAA-4F3F-91B2-83DB8CB573BF}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Runtime.Numerics", "..\System.Runtime.Numerics\ref\System.Runtime.Numerics.csproj", "{D4E5FFE9-4BAF-4CBD-8D67-47F2325A54E2}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Runtime", "..\System.Runtime\ref\System.Runtime.csproj", "{09E935FD-9B7F-40A7-B3A9-EF9EB2566296}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Security.Cryptography", "..\System.Security.Cryptography\ref\System.Security.Cryptography.csproj", "{93B34712-6874-48FD-B5B2-A6A1001B3971}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ILLink.CodeFixProvider", "..\..\tools\illink\src\ILLink.CodeFix\ILLink.CodeFixProvider.csproj", "{2987B1BD-0F93-4685-87EB-78A4D06B164E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ILLink.RoslynAnalyzer", "..\..\tools\illink\src\ILLink.RoslynAnalyzer\ILLink.RoslynAnalyzer.csproj", "{8310CB7A-8920-4F11-82A4-AD187FED940F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ILLink.Tasks", "..\..\tools\illink\src\ILLink.Tasks\ILLink.Tasks.csproj", "{E08549E3-429D-4008-AF68-7F3EA6B799ED}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mono.Linker", "..\..\tools\illink\src\linker\Mono.Linker.csproj", "{541CCC1F-D603-42E6-BC22-DC89AFE275AD}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mono.Linker", "..\..\tools\illink\src\linker\ref\Mono.Linker.csproj", "{F9A4DC11-DF60-486E-8C61-8A8A6A95C315}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{25E4C3E2-CEE1-4725-BB91-2AEB290C0953}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{2A282996-B091-4BE8-BBD5-2F25A9C87A74}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{7D37D576-0E85-4EEA-9852-B80E14E1053C}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gen", "gen", "{47FBD2B8-E991-449C-A4D7-33A636AD5C7F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gen", "tools\gen", "{0DC8ADC5-35B5-49C6-8538-0C708D0EEC3F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "tools\src", "{42D9F460-E044-41F4-B78F-EDFF04838777}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "tools\ref", "{4FCF4CD6-43B0-4C11-A522-B74D3676BB9D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{E6FAE2F1-4EA3-43DF-A357-7D511EC8A733}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {1A05E494-230E-439C-9912-33B1A01D0A31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1A05E494-230E-439C-9912-33B1A01D0A31}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1A05E494-230E-439C-9912-33B1A01D0A31}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1A05E494-230E-439C-9912-33B1A01D0A31}.Release|Any CPU.Build.0 = Release|Any CPU - {B5D741AF-7759-4046-939C-A32AC3482DE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B5D741AF-7759-4046-939C-A32AC3482DE1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B5D741AF-7759-4046-939C-A32AC3482DE1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B5D741AF-7759-4046-939C-A32AC3482DE1}.Release|Any CPU.Build.0 = Release|Any CPU - {1F1F8FBD-3346-45DB-BC80-97F5E3BC1463}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1F1F8FBD-3346-45DB-BC80-97F5E3BC1463}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1F1F8FBD-3346-45DB-BC80-97F5E3BC1463}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1F1F8FBD-3346-45DB-BC80-97F5E3BC1463}.Release|Any CPU.Build.0 = Release|Any CPU - {9924D33E-1388-4C93-9503-5714D7900DBB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9924D33E-1388-4C93-9503-5714D7900DBB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9924D33E-1388-4C93-9503-5714D7900DBB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9924D33E-1388-4C93-9503-5714D7900DBB}.Release|Any CPU.Build.0 = Release|Any CPU - {6294AA9D-C657-45FF-84B9-671292FD4D9B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6294AA9D-C657-45FF-84B9-671292FD4D9B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6294AA9D-C657-45FF-84B9-671292FD4D9B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6294AA9D-C657-45FF-84B9-671292FD4D9B}.Release|Any CPU.Build.0 = Release|Any CPU - {C7CACA66-1CC5-41FB-ABC4-445296898584}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C7CACA66-1CC5-41FB-ABC4-445296898584}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C7CACA66-1CC5-41FB-ABC4-445296898584}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C7CACA66-1CC5-41FB-ABC4-445296898584}.Release|Any CPU.Build.0 = Release|Any CPU - {5B1D14C2-8FC1-4C30-BC58-4CCD1150BCF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5B1D14C2-8FC1-4C30-BC58-4CCD1150BCF9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5B1D14C2-8FC1-4C30-BC58-4CCD1150BCF9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5B1D14C2-8FC1-4C30-BC58-4CCD1150BCF9}.Release|Any CPU.Build.0 = Release|Any CPU - {47125A8A-7B7A-488D-A182-FBC5A01FB9EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {47125A8A-7B7A-488D-A182-FBC5A01FB9EF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {47125A8A-7B7A-488D-A182-FBC5A01FB9EF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {47125A8A-7B7A-488D-A182-FBC5A01FB9EF}.Release|Any CPU.Build.0 = Release|Any CPU - {024702F2-6C9B-483E-A229-22F8FB97517C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {024702F2-6C9B-483E-A229-22F8FB97517C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {024702F2-6C9B-483E-A229-22F8FB97517C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {024702F2-6C9B-483E-A229-22F8FB97517C}.Release|Any CPU.Build.0 = Release|Any CPU - {3AE6973A-7E59-4F78-8B3F-FFBFEF38D89A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3AE6973A-7E59-4F78-8B3F-FFBFEF38D89A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3AE6973A-7E59-4F78-8B3F-FFBFEF38D89A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3AE6973A-7E59-4F78-8B3F-FFBFEF38D89A}.Release|Any CPU.Build.0 = Release|Any CPU - {550C82C8-F7C2-4EB6-B2C0-87523C2E6640}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {550C82C8-F7C2-4EB6-B2C0-87523C2E6640}.Debug|Any CPU.Build.0 = Debug|Any CPU - {550C82C8-F7C2-4EB6-B2C0-87523C2E6640}.Release|Any CPU.ActiveCfg = Release|Any CPU - {550C82C8-F7C2-4EB6-B2C0-87523C2E6640}.Release|Any CPU.Build.0 = Release|Any CPU - {11937440-4272-4B21-A536-230B62BD8D07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {11937440-4272-4B21-A536-230B62BD8D07}.Debug|Any CPU.Build.0 = Debug|Any CPU - {11937440-4272-4B21-A536-230B62BD8D07}.Release|Any CPU.ActiveCfg = Release|Any CPU - {11937440-4272-4B21-A536-230B62BD8D07}.Release|Any CPU.Build.0 = Release|Any CPU - {A16FDE31-C850-412B-9541-3210D5D48AE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A16FDE31-C850-412B-9541-3210D5D48AE1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A16FDE31-C850-412B-9541-3210D5D48AE1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A16FDE31-C850-412B-9541-3210D5D48AE1}.Release|Any CPU.Build.0 = Release|Any CPU - {A02C2610-9EAA-4F3F-91B2-83DB8CB573BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A02C2610-9EAA-4F3F-91B2-83DB8CB573BF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A02C2610-9EAA-4F3F-91B2-83DB8CB573BF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A02C2610-9EAA-4F3F-91B2-83DB8CB573BF}.Release|Any CPU.Build.0 = Release|Any CPU - {D4E5FFE9-4BAF-4CBD-8D67-47F2325A54E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D4E5FFE9-4BAF-4CBD-8D67-47F2325A54E2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D4E5FFE9-4BAF-4CBD-8D67-47F2325A54E2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D4E5FFE9-4BAF-4CBD-8D67-47F2325A54E2}.Release|Any CPU.Build.0 = Release|Any CPU - {09E935FD-9B7F-40A7-B3A9-EF9EB2566296}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {09E935FD-9B7F-40A7-B3A9-EF9EB2566296}.Debug|Any CPU.Build.0 = Debug|Any CPU - {09E935FD-9B7F-40A7-B3A9-EF9EB2566296}.Release|Any CPU.ActiveCfg = Release|Any CPU - {09E935FD-9B7F-40A7-B3A9-EF9EB2566296}.Release|Any CPU.Build.0 = Release|Any CPU - {93B34712-6874-48FD-B5B2-A6A1001B3971}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {93B34712-6874-48FD-B5B2-A6A1001B3971}.Debug|Any CPU.Build.0 = Debug|Any CPU - {93B34712-6874-48FD-B5B2-A6A1001B3971}.Release|Any CPU.ActiveCfg = Release|Any CPU - {93B34712-6874-48FD-B5B2-A6A1001B3971}.Release|Any CPU.Build.0 = Release|Any CPU - {2987B1BD-0F93-4685-87EB-78A4D06B164E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2987B1BD-0F93-4685-87EB-78A4D06B164E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2987B1BD-0F93-4685-87EB-78A4D06B164E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2987B1BD-0F93-4685-87EB-78A4D06B164E}.Release|Any CPU.Build.0 = Release|Any CPU - {8310CB7A-8920-4F11-82A4-AD187FED940F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8310CB7A-8920-4F11-82A4-AD187FED940F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8310CB7A-8920-4F11-82A4-AD187FED940F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8310CB7A-8920-4F11-82A4-AD187FED940F}.Release|Any CPU.Build.0 = Release|Any CPU - {E08549E3-429D-4008-AF68-7F3EA6B799ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E08549E3-429D-4008-AF68-7F3EA6B799ED}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E08549E3-429D-4008-AF68-7F3EA6B799ED}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E08549E3-429D-4008-AF68-7F3EA6B799ED}.Release|Any CPU.Build.0 = Release|Any CPU - {541CCC1F-D603-42E6-BC22-DC89AFE275AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {541CCC1F-D603-42E6-BC22-DC89AFE275AD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {541CCC1F-D603-42E6-BC22-DC89AFE275AD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {541CCC1F-D603-42E6-BC22-DC89AFE275AD}.Release|Any CPU.Build.0 = Release|Any CPU - {F9A4DC11-DF60-486E-8C61-8A8A6A95C315}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F9A4DC11-DF60-486E-8C61-8A8A6A95C315}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F9A4DC11-DF60-486E-8C61-8A8A6A95C315}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F9A4DC11-DF60-486E-8C61-8A8A6A95C315}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {1A05E494-230E-439C-9912-33B1A01D0A31} = {25E4C3E2-CEE1-4725-BB91-2AEB290C0953} - {550C82C8-F7C2-4EB6-B2C0-87523C2E6640} = {25E4C3E2-CEE1-4725-BB91-2AEB290C0953} - {B5D741AF-7759-4046-939C-A32AC3482DE1} = {2A282996-B091-4BE8-BBD5-2F25A9C87A74} - {1F1F8FBD-3346-45DB-BC80-97F5E3BC1463} = {2A282996-B091-4BE8-BBD5-2F25A9C87A74} - {9924D33E-1388-4C93-9503-5714D7900DBB} = {2A282996-B091-4BE8-BBD5-2F25A9C87A74} - {6294AA9D-C657-45FF-84B9-671292FD4D9B} = {2A282996-B091-4BE8-BBD5-2F25A9C87A74} - {C7CACA66-1CC5-41FB-ABC4-445296898584} = {2A282996-B091-4BE8-BBD5-2F25A9C87A74} - {5B1D14C2-8FC1-4C30-BC58-4CCD1150BCF9} = {2A282996-B091-4BE8-BBD5-2F25A9C87A74} - {47125A8A-7B7A-488D-A182-FBC5A01FB9EF} = {2A282996-B091-4BE8-BBD5-2F25A9C87A74} - {024702F2-6C9B-483E-A229-22F8FB97517C} = {2A282996-B091-4BE8-BBD5-2F25A9C87A74} - {A02C2610-9EAA-4F3F-91B2-83DB8CB573BF} = {2A282996-B091-4BE8-BBD5-2F25A9C87A74} - {D4E5FFE9-4BAF-4CBD-8D67-47F2325A54E2} = {2A282996-B091-4BE8-BBD5-2F25A9C87A74} - {09E935FD-9B7F-40A7-B3A9-EF9EB2566296} = {2A282996-B091-4BE8-BBD5-2F25A9C87A74} - {93B34712-6874-48FD-B5B2-A6A1001B3971} = {2A282996-B091-4BE8-BBD5-2F25A9C87A74} - {3AE6973A-7E59-4F78-8B3F-FFBFEF38D89A} = {7D37D576-0E85-4EEA-9852-B80E14E1053C} - {11937440-4272-4B21-A536-230B62BD8D07} = {47FBD2B8-E991-449C-A4D7-33A636AD5C7F} - {A16FDE31-C850-412B-9541-3210D5D48AE1} = {47FBD2B8-E991-449C-A4D7-33A636AD5C7F} - {2987B1BD-0F93-4685-87EB-78A4D06B164E} = {0DC8ADC5-35B5-49C6-8538-0C708D0EEC3F} - {8310CB7A-8920-4F11-82A4-AD187FED940F} = {0DC8ADC5-35B5-49C6-8538-0C708D0EEC3F} - {0DC8ADC5-35B5-49C6-8538-0C708D0EEC3F} = {E6FAE2F1-4EA3-43DF-A357-7D511EC8A733} - {E08549E3-429D-4008-AF68-7F3EA6B799ED} = {42D9F460-E044-41F4-B78F-EDFF04838777} - {541CCC1F-D603-42E6-BC22-DC89AFE275AD} = {42D9F460-E044-41F4-B78F-EDFF04838777} - {42D9F460-E044-41F4-B78F-EDFF04838777} = {E6FAE2F1-4EA3-43DF-A357-7D511EC8A733} - {F9A4DC11-DF60-486E-8C61-8A8A6A95C315} = {4FCF4CD6-43B0-4C11-A522-B74D3676BB9D} - {4FCF4CD6-43B0-4C11-A522-B74D3676BB9D} = {E6FAE2F1-4EA3-43DF-A357-7D511EC8A733} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {2DB03DED-414C-43AC-A6FD-748FEB8492EB} - EndGlobalSection -EndGlobal diff --git a/src/libraries/System.Net.ServicePoint/ref/System.Net.ServicePoint.cs b/src/libraries/System.Net.ServicePoint/ref/System.Net.ServicePoint.cs deleted file mode 100644 index a8282e9d3cc246..00000000000000 --- a/src/libraries/System.Net.ServicePoint/ref/System.Net.ServicePoint.cs +++ /dev/null @@ -1,68 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// ------------------------------------------------------------------------------ -// Changes to this file must follow the https://aka.ms/api-review process. -// ------------------------------------------------------------------------------ - -namespace System.Net -{ - public delegate System.Net.IPEndPoint BindIPEndPoint(System.Net.ServicePoint servicePoint, System.Net.IPEndPoint remoteEndPoint, int retryCount); - [System.FlagsAttribute] - public enum SecurityProtocolType - { - SystemDefault = 0, - [System.ObsoleteAttribute("SecurityProtocolType.Ssl3 has been deprecated and is not supported.")] - Ssl3 = 48, - Tls = 192, - Tls11 = 768, - Tls12 = 3072, - Tls13 = 12288, - } - public partial class ServicePoint - { - internal ServicePoint() { } - public System.Uri Address { get { throw null; } } - public System.Net.BindIPEndPoint? BindIPEndPointDelegate { get { throw null; } set { } } - public System.Security.Cryptography.X509Certificates.X509Certificate? Certificate { get { throw null; } } - public System.Security.Cryptography.X509Certificates.X509Certificate? ClientCertificate { get { throw null; } } - public int ConnectionLeaseTimeout { get { throw null; } set { } } - public int ConnectionLimit { get { throw null; } set { } } - public string ConnectionName { get { throw null; } } - public int CurrentConnections { get { throw null; } } - public bool Expect100Continue { get { throw null; } set { } } - public System.DateTime IdleSince { get { throw null; } } - public int MaxIdleTime { get { throw null; } set { } } - public virtual System.Version ProtocolVersion { get { throw null; } } - public int ReceiveBufferSize { get { throw null; } set { } } - public bool SupportsPipelining { get { throw null; } } - public bool UseNagleAlgorithm { get { throw null; } set { } } - public bool CloseConnectionGroup(string connectionGroupName) { throw null; } - public void SetTcpKeepAlive(bool enabled, int keepAliveTime, int keepAliveInterval) { } - } - public partial class ServicePointManager - { - internal ServicePointManager() { } - public const int DefaultNonPersistentConnectionLimit = 4; - public const int DefaultPersistentConnectionLimit = 2; - public static bool CheckCertificateRevocationList { get { throw null; } set { } } - public static int DefaultConnectionLimit { get { throw null; } set { } } - public static int DnsRefreshTimeout { get { throw null; } set { } } - public static bool EnableDnsRoundRobin { get { throw null; } set { } } - [System.Runtime.Versioning.UnsupportedOSPlatform("browser")] - public static System.Net.Security.EncryptionPolicy EncryptionPolicy { get { throw null; } } - public static bool Expect100Continue { get { throw null; } set { } } - public static int MaxServicePointIdleTime { get { throw null; } set { } } - public static int MaxServicePoints { get { throw null; } set { } } - public static bool ReusePort { get { throw null; } set { } } - public static System.Net.SecurityProtocolType SecurityProtocol { get { throw null; } set { } } - public static System.Net.Security.RemoteCertificateValidationCallback? ServerCertificateValidationCallback { get { throw null; } set { } } - public static bool UseNagleAlgorithm { get { throw null; } set { } } - [System.ObsoleteAttribute("WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.", DiagnosticId = "SYSLIB0014", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] - public static System.Net.ServicePoint FindServicePoint(string uriString, System.Net.IWebProxy? proxy) { throw null; } - [System.ObsoleteAttribute("WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.", DiagnosticId = "SYSLIB0014", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] - public static System.Net.ServicePoint FindServicePoint(System.Uri address) { throw null; } - [System.ObsoleteAttribute("WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.", DiagnosticId = "SYSLIB0014", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] - public static System.Net.ServicePoint FindServicePoint(System.Uri address, System.Net.IWebProxy? proxy) { throw null; } - public static void SetTcpKeepAlive(bool enabled, int keepAliveTime, int keepAliveInterval) { } - } -} diff --git a/src/libraries/System.Net.ServicePoint/ref/System.Net.ServicePoint.csproj b/src/libraries/System.Net.ServicePoint/ref/System.Net.ServicePoint.csproj deleted file mode 100644 index 70ca48b92cfa68..00000000000000 --- a/src/libraries/System.Net.ServicePoint/ref/System.Net.ServicePoint.csproj +++ /dev/null @@ -1,16 +0,0 @@ - - - $(NetCoreAppCurrent) - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/libraries/System.Net.ServicePoint/src/Resources/Strings.resx b/src/libraries/System.Net.ServicePoint/src/Resources/Strings.resx deleted file mode 100644 index 92b7cd7d5ae5bb..00000000000000 --- a/src/libraries/System.Net.ServicePoint/src/Resources/Strings.resx +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - The ServicePointManager does not support proxies with the {0} scheme. - - - The requested security protocol is not supported. - - diff --git a/src/libraries/System.Net.ServicePoint/src/System.Net.ServicePoint.csproj b/src/libraries/System.Net.ServicePoint/src/System.Net.ServicePoint.csproj deleted file mode 100644 index 1cc23cdb9fc1af..00000000000000 --- a/src/libraries/System.Net.ServicePoint/src/System.Net.ServicePoint.csproj +++ /dev/null @@ -1,26 +0,0 @@ - - - - $(NetCoreAppCurrent) - true - false - - - - - - - - - - - - - - - - - - - diff --git a/src/libraries/System.Net.WebClient/System.Net.WebClient.sln b/src/libraries/System.Net.WebClient/System.Net.WebClient.sln index 12241be11775ed..15bf0c83ad19ae 100644 --- a/src/libraries/System.Net.WebClient/System.Net.WebClient.sln +++ b/src/libraries/System.Net.WebClient/System.Net.WebClient.sln @@ -25,8 +25,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Requests", "..\S EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Security", "..\System.Net.Security\ref\System.Net.Security.csproj", "{8B797B66-AFDF-4F42-BFF9-1DA1E8E28AD3}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.ServicePoint", "..\System.Net.ServicePoint\ref\System.Net.ServicePoint.csproj", "{2E61BE5B-473C-4708-B0D9-E7175B4E4D15}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.WebClient", "ref\System.Net.WebClient.csproj", "{F1689AFC-F672-4407-B5C9-3515C301CF31}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.WebClient", "src\System.Net.WebClient.csproj", "{18F1E6CD-3568-4042-9EC3-6430FD60EC3A}" @@ -135,10 +133,6 @@ Global {8B797B66-AFDF-4F42-BFF9-1DA1E8E28AD3}.Debug|Any CPU.Build.0 = Debug|Any CPU {8B797B66-AFDF-4F42-BFF9-1DA1E8E28AD3}.Release|Any CPU.ActiveCfg = Release|Any CPU {8B797B66-AFDF-4F42-BFF9-1DA1E8E28AD3}.Release|Any CPU.Build.0 = Release|Any CPU - {2E61BE5B-473C-4708-B0D9-E7175B4E4D15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2E61BE5B-473C-4708-B0D9-E7175B4E4D15}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2E61BE5B-473C-4708-B0D9-E7175B4E4D15}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2E61BE5B-473C-4708-B0D9-E7175B4E4D15}.Release|Any CPU.Build.0 = Release|Any CPU {F1689AFC-F672-4407-B5C9-3515C301CF31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F1689AFC-F672-4407-B5C9-3515C301CF31}.Debug|Any CPU.Build.0 = Debug|Any CPU {F1689AFC-F672-4407-B5C9-3515C301CF31}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -226,7 +220,6 @@ Global {32A5F2D1-1FEE-4520-B84A-D4002E19DF25} = {33D25EB4-FCAA-41F3-B411-5946DEF7CEFE} {F6E4BD00-A893-458B-898D-507C82803C54} = {33D25EB4-FCAA-41F3-B411-5946DEF7CEFE} {8B797B66-AFDF-4F42-BFF9-1DA1E8E28AD3} = {33D25EB4-FCAA-41F3-B411-5946DEF7CEFE} - {2E61BE5B-473C-4708-B0D9-E7175B4E4D15} = {33D25EB4-FCAA-41F3-B411-5946DEF7CEFE} {F1689AFC-F672-4407-B5C9-3515C301CF31} = {33D25EB4-FCAA-41F3-B411-5946DEF7CEFE} {F9E9F474-9442-40DD-8A10-2A3ECA310B9D} = {33D25EB4-FCAA-41F3-B411-5946DEF7CEFE} {4432D817-DE4F-4E6B-8269-B20D0B83EC95} = {33D25EB4-FCAA-41F3-B411-5946DEF7CEFE} diff --git a/src/libraries/shims/System.Net.ServicePoint/src/System.Net.ServicePoint.cs b/src/libraries/shims/System.Net.ServicePoint/src/System.Net.ServicePoint.cs new file mode 100644 index 00000000000000..31c1417b463359 --- /dev/null +++ b/src/libraries/shims/System.Net.ServicePoint/src/System.Net.ServicePoint.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.BindIPEndPoint))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.SecurityProtocolType))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.ServicePoint))] +[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.ServicePointManager))] diff --git a/src/libraries/shims/System.Net.ServicePoint/src/System.Net.ServicePoint.csproj b/src/libraries/shims/System.Net.ServicePoint/src/System.Net.ServicePoint.csproj new file mode 100644 index 00000000000000..e586d50f965e8e --- /dev/null +++ b/src/libraries/shims/System.Net.ServicePoint/src/System.Net.ServicePoint.csproj @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/src/libraries/shims/System/ref/System.csproj b/src/libraries/shims/System/ref/System.csproj index 0e2d55553bd9a2..4d75d1d24600dc 100644 --- a/src/libraries/shims/System/ref/System.csproj +++ b/src/libraries/shims/System/ref/System.csproj @@ -25,7 +25,6 @@ - diff --git a/src/libraries/shims/System/src/System.csproj b/src/libraries/shims/System/src/System.csproj index f744ee95da2315..0325b193442474 100644 --- a/src/libraries/shims/System/src/System.csproj +++ b/src/libraries/shims/System/src/System.csproj @@ -30,7 +30,6 @@ - diff --git a/src/libraries/shims/netstandard/src/netstandard.csproj b/src/libraries/shims/netstandard/src/netstandard.csproj index d2782bdac8a23a..6db125b88f56a6 100644 --- a/src/libraries/shims/netstandard/src/netstandard.csproj +++ b/src/libraries/shims/netstandard/src/netstandard.csproj @@ -51,7 +51,6 @@ -