1 instantiation of ServicePoint
System.Net.Requests (1)
System\Net\ServicePoint\ServicePointManager.cs (1)
151sp = new ServicePoint(address)
21 references to ServicePoint
netstandard (1)
netstandard.cs (1)
1253[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.ServicePoint))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
741[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.ServicePoint))]
System.Net.Mail (2)
System\Net\Mail\SmtpClient.cs (2)
60private ServicePoint? _servicePoint; 262public ServicePoint ServicePoint
System.Net.Requests (16)
System\Net\FtpWebRequest.cs (2)
203private ServicePoint? _servicePoint; 475public ServicePoint ServicePoint => _servicePoint ??= ServicePointManager.FindServicePoint(_uri);
System\Net\HttpWebRequest.cs (4)
61private ServicePoint? _servicePoint; 127public readonly ServicePoint? ServicePoint; 789public ServicePoint ServicePoint => _servicePoint ??= ServicePointManager.FindServicePoint(Address, Proxy); 1783static void BindHelper(ServicePoint servicePoint, ref IPAddress[] addresses, Socket socket, int port)
System\Net\ServicePoint\BindIPEndPoint.cs (1)
6public delegate IPEndPoint BindIPEndPoint(ServicePoint servicePoint, IPEndPoint remoteEndPoint, int retryCount);
System\Net\ServicePoint\ServicePointManager.cs (9)
18private static readonly ConcurrentDictionary<string, WeakReference<ServicePoint>> s_servicePointTable = new ConcurrentDictionary<string, WeakReference<ServicePoint>>(); 103public static ServicePoint FindServicePoint(Uri address) => FindServicePoint(address, null); 105public static ServicePoint FindServicePoint(string uriString, IWebProxy? proxy) => FindServicePoint(new Uri(uriString), proxy); 107public static ServicePoint FindServicePoint(Uri address, IWebProxy? proxy) 118ServicePoint? sp; // outside of loop to keep references alive from one iteration to the next 124WeakReference<ServicePoint>? wr; 133foreach (KeyValuePair<string, WeakReference<ServicePoint>> entry in s_servicePointTable) 160s_servicePointTable[tableKey] = new WeakReference<ServicePoint>(sp);
System.Net.ServicePoint (1)
System.Net.ServicePoint.cs (1)
6[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.ServicePoint))]