11 references to RawArrayData
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Array.cs (4)
372ref byte src = ref Unsafe.As<RawArrayData>(sourceArray).Data; 373ref byte dst = ref Unsafe.As<RawArrayData>(destinationArray).Data; 403ref byte src = ref Unsafe.AddByteOffset(ref Unsafe.As<RawArrayData>(sourceArray).Data, (uint)sourceIndex * elementSize); 404ref byte dst = ref Unsafe.AddByteOffset(ref Unsafe.As<RawArrayData>(destinationArray).Data, (uint)destinationIndex * elementSize);
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\GenericCache.cs (2)
112return ref Unsafe.As<byte, Entry>(ref Unsafe.As<RawArrayData>(table).Data); 138return ref Unsafe.Add(ref Unsafe.As<byte, Entry>(ref Unsafe.As<RawArrayData>(table).Data), index + 1);
src\System\Array.CoreCLR.cs (3)
381ref byte p = ref Unsafe.As<RawArrayData>(array).Data; 601public int Length => checked((int)Unsafe.As<RawArrayData>(this).Length); 604internal nuint NativeLength => Unsafe.As<RawArrayData>(this).Length;
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (2)
400rawSize += (uint)Unsafe.As<RawArrayData>(obj).Length * (nuint)pMT->ComponentSize; 421return ref Unsafe.As<byte, int>(ref Unsafe.As<RawArrayData>(array).Data);