17 references to CanTryAddressFamily
System (17)
net\System\Net\Sockets\_MultipleConnectAsync.cs (1)
397
while (!socket.
CanTryAddressFamily
(rval.AddressFamily));
net\System\Net\Sockets\Socket.cs (16)
1016
if (dnsEP.AddressFamily != AddressFamily.Unspecified && !
CanTryAddressFamily
(dnsEP.AddressFamily))
1054
if (!
CanTryAddressFamily
(address.AddressFamily)) {
1106
if (
CanTryAddressFamily
(address.AddressFamily)) {
1966
if (!
CanTryAddressFamily
(remoteEP.AddressFamily)) {
2073
if (!
CanTryAddressFamily
(remoteEP.AddressFamily)) {
2752
if (dnsEP.AddressFamily != AddressFamily.Unspecified && !
CanTryAddressFamily
(dnsEP.AddressFamily))
3133
if (!
CanTryAddressFamily
(address.AddressFamily)) {
4544
if (!
CanTryAddressFamily
(remoteEP.AddressFamily)) {
4665
if (!
CanTryAddressFamily
(endPoint.AddressFamily)) {
4783
if (!
CanTryAddressFamily
(remoteEP.AddressFamily)) {
4925
if (!
CanTryAddressFamily
(endPoint.AddressFamily)) {
7096
if (!context.socket.
CanTryAddressFamily
(currentAddressSnapshot.AddressFamily))
7793
if (dnsEP.AddressFamily != AddressFamily.Unspecified && !
CanTryAddressFamily
(dnsEP.AddressFamily)) {
7806
if (!
CanTryAddressFamily
(e.RemoteEndPoint.AddressFamily)) {
8057
if(!
CanTryAddressFamily
(e.RemoteEndPoint.AddressFamily)) {
8149
if(!
CanTryAddressFamily
(e.RemoteEndPoint.AddressFamily)) {