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

@@ -20,16 +20,16 @@ namespace SabreTools.Models.LinearExecutable
/// The signature consists of a string of three (3) ASCII characters: "NB0"
/// </summary>
#if NET48
public string Signature;
public string Signature { get; set; }
#else
public string? Signature;
public string? Signature { get; set; }
#endif
/// <summary>
/// This defines the type of debugger data that exists in the remainder of the
/// debug information.
/// </summary>
public DebugFormatType FormatType;
public DebugFormatType FormatType { get; set; }
/// <summary>
/// The format of the debugger data is defined by the debugger that is being used.
@@ -38,9 +38,9 @@ namespace SabreTools.Models.LinearExecutable
/// for the type field that is defined here.
/// </summary>
#if NET48
public byte[] DebuggerData;
public byte[] DebuggerData { get; set; }
#else
public byte[]? DebuggerData;
public byte[]? DebuggerData { get; set; }
#endif
}
}