4 writes to _numbers
System.Net.Primitives (4)
System\Net\IPAddress.cs (4)
153
_numbers
= ReadUInt16NumbersFromBytes(address);
161
_numbers
= numbers.ToArray();
170
_numbers
= numbers;
192
_numbers
= ReadUInt16NumbersFromBytes(address);
25 references to _numbers
System.Net.Primitives (25)
System\Net\IPAddress.cs (25)
61
[MemberNotNullWhen(false, nameof(
_numbers
))]
64
get { return
_numbers
== null; }
67
[MemberNotNullWhen(true, nameof(
_numbers
))]
70
get { return
_numbers
!= null; }
98
uint address = (uint)
_numbers
[6] << 16 | (uint)
_numbers
[7];
346
ushort[]? numbers =
_numbers
;
387
Debug.Assert(
_numbers
is { Length: NumberOfLabels });
456
IPAddressParser.FormatIPv6Address(
_numbers
, _addressOrScopeId, span);
502
charsWritten = IPAddressParser.FormatIPv6Address(
_numbers
, _addressOrScopeId, destination);
512
IPAddressParser.FormatIPv6Address(
_numbers
, PrivateScopeId, tmpDestination);
579
return IsIPv6 && ((
_numbers
[0] & 0xFF00) == 0xFF00);
592
return IsIPv6 && ((
_numbers
[0] & 0xFFC0) == 0xFE80);
605
return IsIPv6 && ((
_numbers
[0] & 0xFFC0) == 0xFEC0);
614
(
_numbers
[0] == 0x2001) &&
615
(
_numbers
[1] == 0);
624
return IsIPv6 && ((
_numbers
[0] & 0xFE00) == 0xFC00);
633
return !IsIPv4 &&
_numbers
.AsSpan(0, 6).SequenceEqual((ReadOnlySpan<ushort>)[0, 0, 0, 0, 0, 0xFFFF]);
690
Debug.Assert(
_numbers
.Length == IPAddressParserStatics.IPv6AddressShorts);
691
Debug.Assert(comparand.
_numbers
!.Length == IPAddressParserStatics.IPv6AddressShorts);
693
ReadOnlySpan<ushort> left =
_numbers
.AsSpan(0, IPAddressParserStatics.IPv6AddressShorts);
694
ReadOnlySpan<ushort> right = comparand.
_numbers
.AsSpan(0, IPAddressParserStatics.IPv6AddressShorts);
710
ReadOnlySpan<byte> numbers = MemoryMarshal.AsBytes<ushort>(
_numbers
);
753
uint address = (uint)
_numbers
[6] << 16 | (uint)
_numbers
[7];