protected virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { // TODO: dispose managed state (managed objects). } // TODO: free unmanaged resources (unmanaged objects) and override a finalizer below. // TODO: set large fields to null. _collection = null; _disposed = true; }
public CustomConcurrentListEnumerator(CustomConcurrentList <T> collection) { _collection = collection; }