10 references to StructureMarshaler
System.Private.CoreLib (10)
src\System\StubHelpers.cs (10)
1612StructureMarshaler<T>.ConvertToUnmanaged(ref Unsafe.As<byte, T>(ref managed.GetRawData()), unmanaged, nativeSize, ref cleanupWorkList); 1624StructureMarshaler<T>.ConvertToManaged(ref Unsafe.As<byte, T>(ref managed.GetRawData()), unmanaged, ref cleanupWorkList); 1643StructureMarshaler<T>.Free(ref Unsafe.As<byte, T>(ref managedRef), unmanaged, nativeSize, ref cleanupWorkList); 2008private static readonly MemberInfo StructureMarshalerConvertToUnmanaged = typeof(StructureMarshaler<>).GetMethod(nameof(StructureMarshaler<>.ConvertToUnmanaged))!; 2009private static readonly MemberInfo StructureMarshalerConvertToManaged = typeof(StructureMarshaler<>).GetMethod(nameof(StructureMarshaler<>.ConvertToManaged))!; 2010private static readonly MemberInfo StructureMarshalerFree = typeof(StructureMarshaler<>).GetMethod(nameof(StructureMarshaler<>.Free))!; 2027Type structureMarshalerType = typeof(StructureMarshaler<>).MakeGenericType(structureType);