4 references to ElementSize
System.Private.CoreLib (4)
Internal\Runtime\Augments\RuntimeAugments.cs (1)
157ref byte element = ref Unsafe.AddByteOffset(ref MemoryMarshal.GetArrayDataReference(array), (nuint)flattenedIndex * array.ElementSize);
System\Array.NativeAot.cs (3)
269nuint elementSize = ElementSize; 386ref byte element = ref Unsafe.AddByteOffset(ref MemoryMarshal.GetArrayDataReference(this), (nuint)flattenedIndex * ElementSize); 404ref byte element = ref Unsafe.AddByteOffset(ref MemoryMarshal.GetArrayDataReference(this), (nuint)flattenedIndex * ElementSize);