Source/NFX/DisposableObject.cs
/// <summary>
/// Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
/// </summary>
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
Deterministically disposes object . DO NOT OVERRIDE this method override Destructor () instead
public void Dispose()
        {
            if (0 == Interlocked.CompareExchange(ref m_DisposeStarted, 1, 0))
            {
                try
                {
                    Destructor();
                }
                finally
                {
                    m_Disposed = true;
                    GC.SuppressFinalize(this);
                }
            }
        }
public void Dispose ( ) { if ( 0 == Interlocked . CompareExchange ( ref m_DisposeStarted , 1 , 0 ) ) { try { Destructor ( ) ; } finally { m_Disposed = true ; GC . SuppressFinalize ( this ) ; } } }
Deterministically disposes object.
Deterministically disposes object .