8 references to ObjectHasComponentSize
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Memory.cs (2)
293else if (RuntimeHelpers.ObjectHasComponentSize(tmpObject)) 408else if (RuntimeHelpers.ObjectHasComponentSize(tmpObject))
src\libraries\System.Private.CoreLib\src\System\ReadOnlyMemory.cs (2)
215else if (RuntimeHelpers.ObjectHasComponentSize(tmpObject)) 323else if (RuntimeHelpers.ObjectHasComponentSize(tmpObject))
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (1)
131if (RuntimeHelpers.ObjectHasComponentSize(target))
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\MemoryMarshal.cs (2)
281if (RuntimeHelpers.ObjectHasComponentSize(obj)) 409if (RuntimeHelpers.ObjectHasComponentSize(obj)) // Same check as in TryGetArray to confirm that obj is a T[] or a U[] which is blittable to a T[].
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
411Debug.Assert(ObjectHasComponentSize(array));