12 references to IsIPv4
System.Net.Primitives (12)
System\Net\IPAddress.cs (12)
75
Debug.Assert(
IsIPv4
);
80
Debug.Assert(
IsIPv4
);
91
Debug.Assert(
IsIPv4
|| IsIPv4MappedToIPv6);
92
if (
IsIPv4
)
410
return
IsIPv4
? AddressFamily.InterNetwork : AddressFamily.InterNetworkV6;
424
if (
IsIPv4
)
434
if (
IsIPv4
)
465
int length =
IsIPv4
?
501
if (
IsIPv4
)
521
int written =
IsIPv4
?
644
return !
IsIPv4
&& _numbers.AsSpan(0, 6).SequenceEqual((ReadOnlySpan<ushort>)[0, 0, 0, 0, 0, 0xFFFF]);
759
if (
IsIPv4
)