16 references to NativeLength
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\Array.cs (4)
370(uint)length <= sourceArray.NativeLength && 371(uint)length <= destinationArray.NativeLength) 400(uint)(sourceIndex + length) <= sourceArray.NativeLength && 401(uint)(destinationIndex + length) <= destinationArray.NativeLength)
src\libraries\System.Private.CoreLib\src\System\Array.Enumerators.cs (2)
31nuint length = _array.NativeLength; 48if ((nuint)index >= array.NativeLength)
src\libraries\System.Private.CoreLib\src\System\Buffer.cs (3)
21nuint uSrcLen = src.NativeLength; 32uDstLen = dst.NativeLength; 63nuint byteLength = array.NativeLength * (nuint)array.GetElementSize();
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ArrayWithOffset.cs (1)
28nuint nativeTotalSize = arrayObj.NativeLength * (nuint)arrayObj.GetElementSize();
src\System\Array.CoreCLR.cs (6)
60if ((uint)(sourceIndex + length) > sourceArray.NativeLength) 62if ((uint)(destinationIndex + length) > destinationArray.NativeLength) 417nuint totalByteLength = pMT->ComponentSize * array.NativeLength; 454if (index < lowerBound || offset < 0 || length < 0 || (uint)(offset + length) > array.NativeLength) 528Debug.Assert((nuint)flattenedIndex < NativeLength); 565public long LongLength => (long)NativeLength;