13 references to ValueTypeSize
System.Private.CoreLib (13)
Internal\Runtime\Augments\RuntimeAugments.cs (3)
149
Debug.Assert(value.GetMethodTable()->
ValueTypeSize
== IntPtr.Size);
155
Debug.Assert(value.GetMethodTable()->IsValueType && elementMT->
ValueTypeSize
== value.GetMethodTable()->
ValueTypeSize
);
Internal\Runtime\CompilerHelpers\RuntimeInteropData.cs (1)
72
return (int)structureMT->
ValueTypeSize
;
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\RuntimeExports.cs (5)
161
InternalCalls.RhBulkMoveWithWriteBarrier(ref result.GetRawData(), ref dataAdjustedForNullable, pEEType->
ValueTypeSize
);
165
Unsafe.CopyBlock(ref result.GetRawData(), ref dataAdjustedForNullable, pEEType->
ValueTypeSize
);
255
pUnboxToEEType->
ValueTypeSize
);
284
InternalCalls.RhBulkMoveWithWriteBarrier(ref data, ref fields, pEEType->
ValueTypeSize
);
289
Unsafe.CopyBlock(ref data, ref fields, pEEType->
ValueTypeSize
);
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (1)
423
return (int)mt->
ValueTypeSize
;
System\ValueType.cs (3)
48
return -(int)this.GetMethodTable()->
ValueTypeSize
;
55
Debug.Assert(valueTypeSize <= (int)this.GetMethodTable()->
ValueTypeSize
);
128
return new ReadOnlySpan<byte>(ref data, (int)type->
ValueTypeSize
);