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