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

            if (flag)
            {
                ConnectionConfigInternal.InternalDestroy(this.m_Ptr);
                this.m_Ptr = IntPtr.Zero;
            }
        }
示例#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;
            }
        }