2 overrides of Create
System.Net.Primitives (1)
System\Net\IPEndPoint.cs (1)
154public override EndPoint Create(SocketAddress socketAddress)
System.Net.Sockets (1)
System\Net\Sockets\UnixDomainSocketEndPoint.cs (1)
115public override EndPoint Create(SocketAddress socketAddress) => new UnixDomainSocketEndPoint(socketAddress.Buffer.Span.Slice(0, socketAddress.Size));
11 references to Create
System.Net.Sockets (11)
System\Net\Sockets\Socket.cs (7)
333_localEndPoint = _rightEndPoint.Create(socketAddress); 379_remoteEndPoint = _rightEndPoint.Create(socketAddress); 1092Socket socket = CreateAcceptSocket(acceptedSocketHandle, _rightEndPoint.Create(socketAddress)); 1704remoteEP = endPointSnapshot.Create(receiveAddress); 1791remoteEP = endPointSnapshot.Create(receiveAddress); 1858remoteEP = endPointSnapshot.Create(socketAddress); 1981remoteEP = endPointSnapshot.Create(socketAddress);
System\Net\Sockets\SocketAsyncEventArgs.cs (3)
906_acceptSocket = _currentSocket.UpdateAcceptSocket(_acceptSocket!, _currentSocket._rightEndPoint!.Create(remoteSocketAddress)); 972_remoteEndPoint = _remoteEndPoint!.Create(_socketAddress!); 994_remoteEndPoint = _remoteEndPoint!.Create(_socketAddress!);
System\Net\Sockets\SocketAsyncEventArgs.Unix.cs (1)
353remoteSocketAddress.Size > 0 ? _currentSocket._rightEndPoint!.Create(remoteSocketAddress) : null);