public void Dispose()
 {
     if (this._stream != null)
     {
         this._stream.Close();
         this._stream = (Stream)null;
     }
     this._fileName = (string)null;
     this._dataMap  = (DataMap)null;
     GC.SuppressFinalize((object)this);
 }
Example #2
0
 internal Enumerator(DataMap map)
 {
     this._map = map;
     this._version = map._version;
     this._current = (DataBlock)null;
     this._index = -1;
 }
 private void ReInitialize()
 {
     this._dataMap = new DataMap();
     this._dataMap.AddFirst((DataBlock) new FileDataBlock(0L, this._stream.Length));
     this._totalLength = this._stream.Length;
 }
 private void ReInitialize()
 {
     this._dataMap = new DataMap();
     this._dataMap.AddFirst((DataBlock)new FileDataBlock(0L, this._stream.Length));
     this._totalLength = this._stream.Length;
 }
 public void Dispose()
 {
     if (this._stream != null)
     {
         this._stream.Close();
         this._stream = (Stream)null;
     }
     this._fileName = (string)null;
     this._dataMap = (DataMap)null;
     GC.SuppressFinalize((object)this);
 }