static Section() { Invalid = new Section(); }
/// <summary> /// </summary> protected void ReadSections() { if (sectionsPos < 0) { throw new Exception("Read headers first."); } reader.BaseStream.Position = sectionsPos; int n = coffHdr.NumberOfSections; for (int i = n; --i >=0;) { Section sect = new Section(); sect.Read(reader); sections [sect.Name] = sect; } }