mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-08-02 14:08:41 +00:00
Ensure explicit getters and setters
This commit is contained in:
@@ -14,43 +14,43 @@ namespace SabreTools.Models.PortableExecutable
|
||||
/// <summary>
|
||||
/// The number that identifies the type of target machine.
|
||||
/// </summary>
|
||||
public MachineType Machine;
|
||||
public MachineType Machine { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of sections. This indicates the size of the section table,
|
||||
/// which immediately follows the headers.
|
||||
/// </summary>
|
||||
public ushort NumberOfSections;
|
||||
public ushort NumberOfSections { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The low 32 bits of the number of seconds since 00:00 January 1, 1970
|
||||
/// (a C run-time time_t value), which indicates when the file was created.
|
||||
/// </summary>
|
||||
public uint TimeDateStamp;
|
||||
public uint TimeDateStamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The file offset of the COFF symbol table, or zero if no COFF symbol table
|
||||
/// is present. This value should be zero for an image because COFF debugging
|
||||
/// information is deprecated.
|
||||
/// </summary>
|
||||
public uint PointerToSymbolTable;
|
||||
public uint PointerToSymbolTable { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of entries in the symbol table. This data can be used to locate
|
||||
/// the string table, which immediately follows the symbol table. This value
|
||||
/// should be zero for an image because COFF debugging information is deprecated.
|
||||
/// </summary>
|
||||
public uint NumberOfSymbols;
|
||||
public uint NumberOfSymbols { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The size of the optional header, which is required for executable files but
|
||||
/// not for object files. This value should be zero for an object file.
|
||||
/// </summary>
|
||||
public ushort SizeOfOptionalHeader;
|
||||
public ushort SizeOfOptionalHeader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The flags that indicate the attributes of the file.
|
||||
/// </summary>
|
||||
public Characteristics Characteristics;
|
||||
public Characteristics Characteristics { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user