2 types derived from CleanupWorkListElement
System.Private.CoreLib (2)
src\System\StubHelpers.cs (2)
1271
internal sealed class KeepAliveCleanupWorkListElement :
CleanupWorkListElement
1289
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)
507
internal static unsafe IntPtr ConvertSafeHandleToNative(SafeHandle? handle, ref
CleanupWorkListElement
? cleanupWorkList)
880
private
CleanupWorkListElement
? cleanupWorkList;
1240
private
CleanupWorkListElement
? m_Next;
1246
CleanupWorkListElement
? next = m_Next;
1254
public static void AddToCleanupList(ref
CleanupWorkListElement
? list,
CleanupWorkListElement
newElement)
1329
internal static IntPtr AddToCleanupList(ref
CleanupWorkListElement
? pCleanupWorkList, SafeHandle handle)
1332
CleanupWorkListElement
.AddToCleanupList(ref pCleanupWorkList, element);
1336
internal static void KeepAliveViaCleanupList(ref
CleanupWorkListElement
? pCleanupWorkList, object obj)
1339
CleanupWorkListElement
.AddToCleanupList(ref pCleanupWorkList, element);
1342
internal static void DestroyCleanupList(ref
CleanupWorkListElement
? pCleanupWorkList)
1510
internal static unsafe void FmtClassUpdateNativeInternal(object obj, byte* pNative, ref
CleanupWorkListElement
? pCleanupWorkList)
1514
delegate*<ref byte, byte*, int, ref
CleanupWorkListElement
?, void> structMarshalStub;
1533
delegate*<ref byte, byte*, int, ref
CleanupWorkListElement
?, void> structMarshalStub;
1540
structMarshalStub(ref obj.GetRawData(), pNative, MarshalOperation.Unmarshal, ref Unsafe.NullRef<
CleanupWorkListElement
?>());
1552
delegate*<ref byte, byte*, int, ref
CleanupWorkListElement
?, void> structMarshalStub;
1559
structMarshalStub(ref obj.GetRawData(), pNative, MarshalOperation.Cleanup, ref Unsafe.NullRef<
CleanupWorkListElement
?>());