using System; using Cpp2IlInjected; namespace System.Runtime.InteropServices { /// Wraps a managed object holding a handle to a resource that is passed to unmanaged code using platform invoke. // Token: 0x0200059E RID: 1438 [Token(Token = "0x200059E")] [ComVisible(true)] public struct HandleRef { /// Initializes a new instance of the class with the object to wrap and a handle to the resource used by unmanaged code. /// A managed object that should not be finalized until the platform invoke call returns. /// An that indicates a handle to a resource. // Token: 0x06002CC9 RID: 11465 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002CC9")] [Address(RVA = "0x4AF6A0", Offset = "0x4AE6A0", VA = "0x1804AF6A0")] public HandleRef(object wrapper, IntPtr handle) { } /// Gets the handle to a resource. /// The handle to a resource. // Token: 0x170006CA RID: 1738 // (get) Token: 0x06002CCA RID: 11466 RVA: 0x00018E28 File Offset: 0x00017028 [Token(Token = "0x170006CA")] public IntPtr Handle { [Token(Token = "0x6002CCA")] [Address(RVA = "0x634760", Offset = "0x633760", VA = "0x180634760")] get { return 0; } } // Token: 0x040019F6 RID: 6646 [FieldOffset(Offset = "0x0")] [Token(Token = "0x40019F6")] internal object m_wrapper; // Token: 0x040019F7 RID: 6647 [FieldOffset(Offset = "0x8")] [Token(Token = "0x40019F7")] internal IntPtr m_handle; } }