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