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

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