System.Net.LazyAsyncResult.InternalCleanup C# (CSharp) Метод

InternalCleanup() приватный Метод

private InternalCleanup ( ) : void
Результат void
        internal void InternalCleanup()
        {
            if ((_intCompleted & ~HighBit) == 0 && (Interlocked.Increment(ref _intCompleted) & ~HighBit) == 1)
            {
                // Set no result so that just in case there are waiters, they don't hang in the spin lock.
                _result = null;
                Cleanup();
            }
        }
    }