12 references to CanTryAddressFamily
System.Net.Sockets (12)
System\Net\Sockets\Socket.cs (11)
858
if (dnsEP.AddressFamily != AddressFamily.Unspecified && !
CanTryAddressFamily
(dnsEP.AddressFamily))
892
if (!
CanTryAddressFamily
(address.AddressFamily))
959
if (
CanTryAddressFamily
(address.AddressFamily))
1751
if (!
CanTryAddressFamily
(remoteEP.AddressFamily))
2691
if (!
CanTryAddressFamily
(endPoint.AddressFamily))
2731
if (!
CanTryAddressFamily
(endPoint.AddressFamily))
2911
if (dnsEP.AddressFamily != AddressFamily.Unspecified && !
CanTryAddressFamily
(dnsEP.AddressFamily))
2933
if (!
CanTryAddressFamily
(e.RemoteEndPoint.AddressFamily))
3106
if (!
CanTryAddressFamily
(endPointSnapshot.AddressFamily))
3155
if (!
CanTryAddressFamily
(e.RemoteEndPoint.AddressFamily))
3963
if (!
CanTryAddressFamily
(remoteEndPoint.AddressFamily))
System\Net\Sockets\SocketAsyncEventArgs.cs (1)
725
if (!_currentSocket.
CanTryAddressFamily
(address.AddressFamily))