15 references to Size
System.Private.CoreLib (15)
src\runtime\src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (4)
289
byte[] bytes = new byte[UInt128.
Size
];
304
if (destination.Length < UInt128.
Size
)
703
if (startIndex > value.Length - UInt128.
Size
)
719
if (value.Length < UInt128.
Size
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (11)
1119
if ((source.Length >
Size
) && (source[..^
Size
].ContainsAnyExcept((byte)0x00)))
1128
if (source.Length >=
Size
)
1131
result = BinaryPrimitives.ReadUInt128BigEndian(source.Slice(source.Length -
Size
));
1167
if ((source.Length >
Size
) && (source[
Size
..].ContainsAnyExcept((byte)0x00)))
1176
if (source.Length >=
Size
)
1205
return (
Size
* 8) - LeadingZeroCountAsInt32(this);
1209
int IBinaryInteger<UInt128>.GetByteCount() =>
Size
;
1216
bytesWritten =
Size
;
1229
bytesWritten =
Size
;