16#define __GCHANDLE_TO_VOIDPTR(x) ((GCHandle::operator System::IntPtr(x)).ToPointer())
17#define __VOIDPTR_TO_GCHANDLE(x) (GCHandle::operator GCHandle(System::IntPtr(x)))
18#define __NULLPTR nullptr
20#define __GCHANDLE_TO_VOIDPTR(x) ((GCHandle::op_Explicit(x)).ToPointer())
21#define __VOIDPTR_TO_GCHANDLE(x) (GCHandle::op_Explicit(x))
25#ifndef __DEFINE_GCROOT_IN_GLOBAL_NAMESPACE
33 typedef System::Runtime::InteropServices::GCHandle
GCHandle;
34 typedef System::Runtime::InteropServices::GCHandleType
GCHandleType;
39 [System::Diagnostics::DebuggerStepThroughAttribute]
40 [System::Security::SecuritySafeCritical]
62 [System::Diagnostics::DebuggerStepThroughAttribute]
63 [System::Security::SecurityCritical]
70 [System::Diagnostics::DebuggerStepThroughAttribute]
71 [System::Security::SecurityCritical]
92 [System::Security::SecuritySafeCritical]
100 [System::Security::SecuritySafeCritical]
131#ifndef __DEFINE_GCROOT_IN_GLOBAL_NAMESPACE
135#undef __GCHANDLE_TO_VOIDPTR
136#undef __VOIDPTR_TO_GCHANDLE
void swap(pwiz::util::BinaryData< T > &lhs, std::vector< T > &rhs)
#define __VOIDPTR_TO_GCHANDLE(x)
#define __GCHANDLE_TO_VOIDPTR(x)
pinned_gcroot: a slightly modified gcroot that pins its GCHandle
pinned_gcroot & operator=(T t)
System::Runtime::InteropServices::GCHandle GCHandle
System::Runtime::InteropServices::GCHandleType GCHandleType
System::IntPtr operator&() const
void swap(pinned_gcroot< T > &_right)
pinned_gcroot & operator=(const pinned_gcroot &r)
pinned_gcroot(const pinned_gcroot &r)