コード例 #1
0
 static Section()
 {
     Invalid = new Section();
 }
コード例 #2
0
ファイル: Image.cs プロジェクト: emtees/old-code
		/// <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;
			}
		}
コード例 #3
0
ファイル: Section.cs プロジェクト: emtees/old-code
		static Section()
		{
			Invalid = new Section();
		}