4 references to GetNumInstanceFieldBytesIfContainsGCPointers
System.Private.CoreLib (4)
src\System\Array.CoreCLR.cs (2)
523nuint elementSize = pElementMethodTable->GetNumInstanceFieldBytesIfContainsGCPointers(); 560nuint elementSize = pElementMethodTable->GetNumInstanceFieldBytesIfContainsGCPointers();
src\System\Runtime\CompilerServices\CastHelpers.cs (2)
592SpanHelpers.ClearWithReferences(ref Unsafe.As<byte, IntPtr>(ref destPtr), typeMT->GetNumInstanceFieldBytesIfContainsGCPointers() / (nuint)sizeof(IntPtr)); 634Buffer.BulkMoveWithWriteBarrier(ref dstData, ref srcData, dstMT->GetNumInstanceFieldBytesIfContainsGCPointers());