Dispose() public method

Frees all the streams used in this heap.
public Dispose ( ) : void
return void
コード例 #1
0
 /// <summary>
 /// Frees all heaps and streams that are being used.
 /// </summary>
 public void Dispose()
 {
     if (blobheap != null)
     {
         blobheap.Dispose();
     }
     if (guidheap != null)
     {
         guidheap.Dispose();
     }
     if (stringsheap != null)
     {
         stringsheap.Dispose();
     }
     if (usheap != null)
     {
         usheap.Dispose();
     }
     if (tableheap != null)
     {
         tableheap.Dispose();
     }
 }
コード例 #2
0
ファイル: NETHeader.cs プロジェクト: Yogeshkad/AsmResolver
 /// <summary>
 /// Frees all heaps and streams that are being used.
 /// </summary>
 public void Dispose()
 {
     if (_blobheap != null)
     {
         _blobheap.Dispose();
     }
     if (_guidheap != null)
     {
         _guidheap.Dispose();
     }
     if (_stringsheap != null)
     {
         _stringsheap.Dispose();
     }
     if (_usheap != null)
     {
         _usheap.Dispose();
     }
     if (_tableheap != null)
     {
         _tableheap.Dispose();
     }
 }