Beispiel #1
0
 static Section()
 {
     Invalid = new Section();
 }
Beispiel #2
0
		/// <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;
			}
		}
Beispiel #3
0
		static Section()
		{
			Invalid = new Section();
		}