private bool disposedValue; // To detect redundant calls protected virtual void Dispose(bool disposing) { if (!disposedValue) { if (disposing) { subj = null; pos = -1; } } disposedValue = true; }
internal IP_ADAPTER_ADDRESSES_Enumerator(NetworkAdapters subject) { subj = subject; }