mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 07:37:10 +00:00
Ensure explicit getters and setters
This commit is contained in:
@@ -16,7 +16,7 @@ namespace SabreTools.Models.PortableExecutable
|
||||
/// <summary>
|
||||
/// "AddD", Identifier?
|
||||
/// </summary>
|
||||
public uint Signature;
|
||||
public uint Signature { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Unknown (Entry count?)
|
||||
@@ -25,24 +25,24 @@ namespace SabreTools.Models.PortableExecutable
|
||||
/// 3 in EXPUNGED, 3.17.00.0017, 3.17.00.0019
|
||||
/// 3 in 4.47.00.0039, 4.84.00.0054, 4.84.69.0037, 4.84.76.7966, 4.84.76.7968, 4.85.07.0009
|
||||
/// </remarks>
|
||||
public uint EntryCount;
|
||||
public uint EntryCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Version, always 8 bytes?
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public string Version;
|
||||
public string Version { get; set; }
|
||||
#else
|
||||
public string? Version;
|
||||
public string? Version { get; set; }
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Unknown (Build? Formatted as a string)
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public char[] Build;
|
||||
public char[] Build { get; set; }
|
||||
#else
|
||||
public char[]? Build;
|
||||
public char[]? Build { get; set; }
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
@@ -59,18 +59,18 @@ namespace SabreTools.Models.PortableExecutable
|
||||
/// "548520-001" in 4.85.07.0009
|
||||
/// </remarks>
|
||||
#if NET48
|
||||
public byte[] Unknown14h;
|
||||
public byte[] Unknown14h { get; set; }
|
||||
#else
|
||||
public byte[]? Unknown14h;
|
||||
public byte[]? Unknown14h { get; set; }
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Entry table
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public SecuROMAddDEntry[] Entries;
|
||||
public SecuROMAddDEntry[] Entries { get; set; }
|
||||
#else
|
||||
public SecuROMAddDEntry?[]? Entries;
|
||||
public SecuROMAddDEntry?[]? Entries { get; set; }
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user