19 references to NativeLength
System.Private.CoreLib (19)
src\libraries\System.Private.CoreLib\src\System\Array.cs (4)
368
(uint)length <= sourceArray.
NativeLength
&&
369
(uint)length <= destinationArray.
NativeLength
)
398
(uint)(sourceIndex + length) <= sourceArray.
NativeLength
&&
399
(uint)(destinationIndex + length) <= destinationArray.
NativeLength
)
src\libraries\System.Private.CoreLib\src\System\Array.Enumerators.cs (2)
31
nuint length = _array.
NativeLength
;
48
if ((nuint)index >= array.
NativeLength
)
src\libraries\System.Private.CoreLib\src\System\Buffer.cs (3)
21
nuint uSrcLen = src.
NativeLength
;
32
uDstLen = dst.
NativeLength
;
63
nuint byteLength = array.
NativeLength
* (nuint)array.GetElementSize();
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ArrayWithOffset.cs (1)
28
nuint nativeTotalSize = arrayObj.
NativeLength
* (nuint)arrayObj.GetElementSize();
src\System\Array.CoreCLR.cs (8)
60
if ((uint)(sourceIndex + length) > sourceArray.
NativeLength
)
62
if ((uint)(destinationIndex + length) > destinationArray.
NativeLength
)
357
nuint totalByteLength = pMT->ComponentSize * array.
NativeLength
;
394
if (index < lowerBound || offset < 0 || length < 0 || (uint)(offset + length) > array.
NativeLength
)
468
Debug.Assert((nuint)flattenedIndex <
NativeLength
);
509
Debug.Assert((nuint)flattenedIndex <
NativeLength
);
600
public long LongLength => (long)
NativeLength
;
686
for (nuint i = 0; i <
NativeLength
; i++)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
42
nuint totalSize = pMT->ComponentSize * array.
NativeLength
;