25 references to Size
System.Private.CoreLib (25)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (4)
169byte[] bytes = new byte[Int128.Size]; 183if (destination.Length < Int128.Size) 548if (startIndex > value.Length - Int128.Size) 563if (value.Length < Int128.Size)
src\libraries\System.Private.CoreLib\src\System\Int128.cs (21)
766if (isUnsigned && sbyte.IsNegative(sign) && (source.Length >= Size)) 775if (source.Length > Size) 777if (source[..^Size].ContainsAnyExcept((byte)sign)) 786if (isUnsigned == sbyte.IsNegative((sbyte)source[^Size])) 798if (source.Length >= Size) 800sourceRef = ref Unsafe.Add(ref sourceRef, source.Length - Size); 824result |= ((One << ((Size * 8) - 1)) >> (((Size - source.Length) * 8) - 1)); 848if (isUnsigned && sbyte.IsNegative(sign) && (source.Length >= Size)) 857if (source.Length > Size) 859if (source[Size..].ContainsAnyExcept((byte)sign)) 868if (isUnsigned == sbyte.IsNegative((sbyte)source[Size - 1])) 880if (source.Length >= Size) 904result <<= ((Size - source.Length) * 8); 909result |= ((One << ((Size * 8) - 1)) >> (((Size - source.Length) * 8) - 1)); 925return (Size * 8) - LeadingZeroCountAsInt32(value); 929return (Size * 8) + 1 - LeadingZeroCountAsInt32(~value); 934int IBinaryInteger<Int128>.GetByteCount() => Size; 941bytesWritten = Size; 954bytesWritten = Size;