コード例 #1
0
        // FIXME: public byte[] ImageHash;

        #endregion Data members

        #region Methods

        /// <summary>
        /// Loads the CLI_HEADER from the reader.
        /// </summary>
        /// <param name="reader">The reader.</param>
        public void Read(EndianAwareBinaryReader reader)
        {
            Cb = reader.ReadUInt32();
            MajorRuntimeVersion = reader.ReadUInt16();
            MinorRuntimeVersion = reader.ReadUInt16();
            Metadata.Read(reader);
            Flags           = (RuntimeImageFlags)reader.ReadUInt32();
            EntryPointToken = reader.ReadUInt32();
            Resources.Read(reader);
            StrongNameSignature.Read(reader);
            CodeManagerTable.Read(reader);
            VTableFixups.Read(reader);
            ExportAddressTableJumps.Read(reader);
            ManagedNativeHeader.Read(reader);
        }
コード例 #2
0
ファイル: CliHeader.cs プロジェクト: pacificIT/MOSA-Project
 /// <summary>
 /// Loads the CLI_HEADER from the reader.
 /// </summary>
 /// <param name="reader">The reader.</param>
 public void Read(EndianAwareBinaryReader reader)
 {
     Cb = reader.ReadUInt32();
     MajorRuntimeVersion = reader.ReadUInt16();
     MinorRuntimeVersion = reader.ReadUInt16();
     Metadata.Read(reader);
     Flags = (RuntimeImageFlags)reader.ReadUInt32();
     EntryPointToken = reader.ReadUInt32();
     Resources.Read(reader);
     StrongNameSignature.Read(reader);
     CodeManagerTable.Read(reader);
     VTableFixups.Read(reader);
     ExportAddressTableJumps.Read(reader);
     ManagedNativeHeader.Read(reader);
 }