2 types derived from CleanupWorkListElement
System.Private.CoreLib (2)
src\System\StubHelpers.cs (2)
1271internal sealed class KeepAliveCleanupWorkListElement : CleanupWorkListElement 1289internal sealed class SafeHandleCleanupWorkListElement : CleanupWorkListElement
25 references to CleanupWorkListElement
System.Private.CoreLib (25)
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (8)
254delegate*<ref byte, byte*, int, ref CleanupWorkListElement?, void> structMarshalStub; 263structMarshalStub(ref structure.GetRawData(), (byte*)ptr, MarshalOperation.Cleanup, ref Unsafe.NullRef<CleanupWorkListElement?>()); 266structMarshalStub(ref structure.GetRawData(), (byte*)ptr, MarshalOperation.Marshal, ref Unsafe.NullRef<CleanupWorkListElement?>()); 284delegate*<ref byte, byte*, int, ref CleanupWorkListElement?, void> structMarshalStub; 291structMarshalStub(ref structure.GetRawData(), (byte*)ptr, MarshalOperation.Unmarshal, ref Unsafe.NullRef<CleanupWorkListElement?>()); 316delegate*<ref byte, byte*, int, ref CleanupWorkListElement?, void> structMarshalStub; 325structMarshalStub(ref Unsafe.NullRef<byte>(), (byte*)ptr, MarshalOperation.Cleanup, ref Unsafe.NullRef<CleanupWorkListElement?>()); 331internal static unsafe partial bool TryGetStructMarshalStub(IntPtr th, delegate*<ref byte, byte*, int, ref CleanupWorkListElement?, void>* structMarshalStub, nuint* size);
src\System\StubHelpers.cs (17)
507internal static unsafe IntPtr ConvertSafeHandleToNative(SafeHandle? handle, ref CleanupWorkListElement? cleanupWorkList) 880private CleanupWorkListElement? cleanupWorkList; 1240private CleanupWorkListElement? m_Next; 1246CleanupWorkListElement? next = m_Next; 1254public static void AddToCleanupList(ref CleanupWorkListElement? list, CleanupWorkListElement newElement) 1329internal static IntPtr AddToCleanupList(ref CleanupWorkListElement? pCleanupWorkList, SafeHandle handle) 1332CleanupWorkListElement.AddToCleanupList(ref pCleanupWorkList, element); 1336internal static void KeepAliveViaCleanupList(ref CleanupWorkListElement? pCleanupWorkList, object obj) 1339CleanupWorkListElement.AddToCleanupList(ref pCleanupWorkList, element); 1342internal static void DestroyCleanupList(ref CleanupWorkListElement? pCleanupWorkList) 1510internal static unsafe void FmtClassUpdateNativeInternal(object obj, byte* pNative, ref CleanupWorkListElement? pCleanupWorkList) 1514delegate*<ref byte, byte*, int, ref CleanupWorkListElement?, void> structMarshalStub; 1533delegate*<ref byte, byte*, int, ref CleanupWorkListElement?, void> structMarshalStub; 1540structMarshalStub(ref obj.GetRawData(), pNative, MarshalOperation.Unmarshal, ref Unsafe.NullRef<CleanupWorkListElement?>()); 1552delegate*<ref byte, byte*, int, ref CleanupWorkListElement?, void> structMarshalStub; 1559structMarshalStub(ref obj.GetRawData(), pNative, MarshalOperation.Cleanup, ref Unsafe.NullRef<CleanupWorkListElement?>());