2 types derived from CleanupWorkListElement
System.Private.CoreLib (2)
src\System\StubHelpers.cs (2)
1272
internal sealed class KeepAliveCleanupWorkListElement :
CleanupWorkListElement
1290
internal sealed class SafeHandleCleanupWorkListElement :
CleanupWorkListElement
25 references to CleanupWorkListElement
System.Private.CoreLib (25)
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (8)
254
delegate*<ref byte, byte*, int, ref
CleanupWorkListElement
?, void> structMarshalStub;
263
structMarshalStub(ref structure.GetRawData(), (byte*)ptr, MarshalOperation.Cleanup, ref Unsafe.NullRef<
CleanupWorkListElement
?>());
266
structMarshalStub(ref structure.GetRawData(), (byte*)ptr, MarshalOperation.Marshal, ref Unsafe.NullRef<
CleanupWorkListElement
?>());
284
delegate*<ref byte, byte*, int, ref
CleanupWorkListElement
?, void> structMarshalStub;
291
structMarshalStub(ref structure.GetRawData(), (byte*)ptr, MarshalOperation.Unmarshal, ref Unsafe.NullRef<
CleanupWorkListElement
?>());
316
delegate*<ref byte, byte*, int, ref
CleanupWorkListElement
?, void> structMarshalStub;
325
structMarshalStub(ref Unsafe.NullRef<byte>(), (byte*)ptr, MarshalOperation.Cleanup, ref Unsafe.NullRef<
CleanupWorkListElement
?>());
331
internal static unsafe partial bool TryGetStructMarshalStub(IntPtr th, delegate*<ref byte, byte*, int, ref
CleanupWorkListElement
?, void>* structMarshalStub, nuint* size);
src\System\StubHelpers.cs (17)
508
internal static IntPtr ConvertSafeHandleToNative(SafeHandle? handle, ref
CleanupWorkListElement
? cleanupWorkList)
881
private
CleanupWorkListElement
? cleanupWorkList;
1241
private
CleanupWorkListElement
? m_Next;
1247
CleanupWorkListElement
? next = m_Next;
1255
public static void AddToCleanupList(ref
CleanupWorkListElement
? list,
CleanupWorkListElement
newElement)
1330
internal static IntPtr AddToCleanupList(ref
CleanupWorkListElement
? pCleanupWorkList, SafeHandle handle)
1333
CleanupWorkListElement
.AddToCleanupList(ref pCleanupWorkList, element);
1337
internal static void KeepAliveViaCleanupList(ref
CleanupWorkListElement
? pCleanupWorkList, object obj)
1340
CleanupWorkListElement
.AddToCleanupList(ref pCleanupWorkList, element);
1343
internal static void DestroyCleanupList(ref
CleanupWorkListElement
? pCleanupWorkList)
1511
internal static unsafe void FmtClassUpdateNativeInternal(object obj, byte* pNative, ref
CleanupWorkListElement
? pCleanupWorkList)
1515
delegate*<ref byte, byte*, int, ref
CleanupWorkListElement
?, void> structMarshalStub;
1534
delegate*<ref byte, byte*, int, ref
CleanupWorkListElement
?, void> structMarshalStub;
1541
structMarshalStub(ref obj.GetRawData(), pNative, MarshalOperation.Unmarshal, ref Unsafe.NullRef<
CleanupWorkListElement
?>());
1553
delegate*<ref byte, byte*, int, ref
CleanupWorkListElement
?, void> structMarshalStub;
1560
structMarshalStub(ref obj.GetRawData(), pNative, MarshalOperation.Cleanup, ref Unsafe.NullRef<
CleanupWorkListElement
?>());