Beispiel #1
0
        public void Dispose()
        {
            bool flag = this.m_Ptr != IntPtr.Zero;

            if (flag)
            {
                ConnectionConfigInternal.InternalDestroy(this.m_Ptr);
                this.m_Ptr = IntPtr.Zero;
            }
        }
Beispiel #2
0
        protected virtual void Dispose(bool disposing)
        {
            bool flag = this.m_Ptr != IntPtr.Zero;

            if (flag)
            {
                ConnectionConfigInternal.InternalDestroy(this.m_Ptr);
                this.m_Ptr = IntPtr.Zero;
            }
        }