14using System.Runtime.InteropServices;
18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
24 swigCPtr =
new HandleRef(
this, cPtr);
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
37 global::System.GC.SuppressFinalize(
this);
40 protected virtual void Dispose(
bool disposing) {
41 if (swigCPtr.Handle != IntPtr.Zero)
47 if ((swigCPtr.Handle != IntPtr.Zero) && (
swigCMemOwn))
50 throw new MethodAccessException(
"C++ destructor does not have public access");
55 swigCPtr =
new HandleRef(
null, IntPtr.Zero);
57 GC.SuppressFinalize(
this);
OdDbStubExt(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdDbStubExt obj)
virtual void Dispose(bool disposing)