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