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