internal MemoryCursor(MemoryMappedFile/*!*/ memoryMap) : this(memoryMap.Buffer, memoryMap.Length) { }
internal MetadataReader(string path) { MemoryMappedFile memmap = this.memmap = new MemoryMappedFile(path); try { this.cursor = new MemoryCursor(memmap); //^ base(); ReadHeader(); } catch { this.Dispose(); throw; } }
public void Dispose() { if(this.memmap != null) this.memmap.Dispose(); this.memmap = null; //this.cursor = null; this.sectionHeaders = null; this.identifierStringHeap = null; this.generalStringHeap = null; this.blobHeap = null; this.guidHeap = null; this.tables = null; this.tablesHeader = null; this.targetRuntimeVersion = null; this.tableSize = null; this.tableRefSize = null; this.tableOffset = null; this.HashValue = null; }
internal MemoryCursor(MemoryMappedFile /*!*/ memoryMap) : this(memoryMap.Buffer, memoryMap.Length) { }