12 references to CanTryAddressFamily
System.Net.Sockets (12)
System\Net\Sockets\Socket.cs (11)
865if (dnsEP.AddressFamily != AddressFamily.Unspecified && !CanTryAddressFamily(dnsEP.AddressFamily)) 897if (!CanTryAddressFamily(address.AddressFamily)) 964if (CanTryAddressFamily(address.AddressFamily)) 1765if (!CanTryAddressFamily(remoteEP.AddressFamily)) 2705if (!CanTryAddressFamily(endPoint.AddressFamily)) 2745if (!CanTryAddressFamily(endPoint.AddressFamily)) 2928if (dnsEP.AddressFamily != AddressFamily.Unspecified && !CanTryAddressFamily(dnsEP.AddressFamily)) 2948if (!CanTryAddressFamily(e.RemoteEndPoint.AddressFamily)) 3133if (!CanTryAddressFamily(endPointSnapshot.AddressFamily)) 3182if (!CanTryAddressFamily(e.RemoteEndPoint.AddressFamily)) 3990if (!CanTryAddressFamily(remoteEndPoint.AddressFamily))
System\Net\Sockets\SocketAsyncEventArgs.cs (1)
759if (!_currentSocket.CanTryAddressFamily(address.AddressFamily) &&