8 references to BaseSize
System.Private.CoreLib (8)
Internal\Runtime\FrozenObjectHeapManager.cs (1)
30
return Unsafe.As<T>(TryAllocateObject(pMT, pMT->
BaseSize
));
src\runtime\src\coreclr\nativeaot\Common\src\Internal\Runtime\MethodTable.cs (5)
411
int boundsSize = (int)this.
BaseSize
- SZARRAY_BASE_SIZE;
429
int boundsSize = (int)this.
BaseSize
- SZARRAY_BASE_SIZE;
441
return
BaseSize
== SZARRAY_BASE_SIZE;
451
return
BaseSize
> (uint)(3 * sizeof(IntPtr));
795
return
BaseSize
- ((uint)sizeof(ObjHeader) + (uint)sizeof(MethodTable*) + ValueTypeFieldPadding);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\MemoryMarshal.cs (1)
124
return ref Unsafe.AddByteOffset(ref Unsafe.As<RawData>(array).Data, (nuint)RuntimeHelpers.GetMethodTable(array)->
BaseSize
- (nuint)(2 * sizeof(IntPtr)));
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (1)
188
nuint rawSize = pMT->
BaseSize
- (nuint)(2 * sizeof(IntPtr));