Ensure explicit getters and setters

This commit is contained in:
Matt Nadareski
2023-09-10 21:24:10 -04:00
parent e3c5c76ee5
commit 670b8428c2
277 changed files with 2583 additions and 2584 deletions

View File

@@ -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; }
}
}