13 references to Unknown
System.Net.NameResolution (1)
src\libraries\Common\src\System\Net\SocketAddressPal.Unix.cs (1)
77if (family != AddressFamily.Unknown)
System.Net.Ping (1)
src\libraries\Common\src\System\Net\SocketAddressPal.Unix.cs (1)
77if (family != AddressFamily.Unknown)
System.Net.Primitives (1)
src\libraries\Common\src\System\Net\SocketAddressPal.Unix.cs (1)
77if (family != AddressFamily.Unknown)
System.Net.Quic (1)
src\libraries\Common\src\System\Net\SocketAddressPal.Unix.cs (1)
77if (family != AddressFamily.Unknown)
System.Net.Sockets (9)
src\libraries\Common\src\System\Net\SocketAddressPal.Unix.cs (1)
77if (family != AddressFamily.Unknown)
src\libraries\Common\src\System\Net\Sockets\ProtocolFamily.cs (1)
16Unknown = AddressFamily.Unknown,
System\Net\Sockets\Socket.cs (1)
122_addressFamily = AddressFamily.Unknown;
System\Net\Sockets\Socket.Unix.cs (1)
96addressFamily = AddressFamily.Unknown;
System\Net\Sockets\TCPClient.cs (5)
26public TcpClient() : this(AddressFamily.Unknown) 35if (family is not (AddressFamily.InterNetwork or AddressFamily.InterNetworkV6 or AddressFamily.Unknown)) 57public TcpClient(string hostname, int port) : this(AddressFamily.Unknown) 101_family = _clientSocket?.AddressFamily ?? AddressFamily.Unknown; 374if (_family == AddressFamily.Unknown)