7 references to HasLayout
System.Private.CoreLib (7)
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (3)
309if (!HasLayout(new QCallTypeHandle(ref type), out bool isBlittable, out int size)) 338if (!HasLayout(new QCallTypeHandle(ref type), out bool isBlittable, out int size)) 369if (!HasLayout(new QCallTypeHandle(ref rt), out bool isBlittable, out int size))
src\System\StubHelpers.cs (4)
1410bool hasLayout = Marshal.HasLayout(new QCallTypeHandle(ref type), out bool isBlittable, out int _); 1482bool hasLayout = Marshal.HasLayout(new QCallTypeHandle(ref th), out bool isBlittable, out int nativeSize); 1950bool hasLayout = Marshal.HasLayout(new QCallTypeHandle(ref type), out bool isBlittable, out int size); 1981bool hasLayout = Marshal.HasLayout(new QCallTypeHandle(ref type), out bool isBlittable, out int size);