mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 15:47:27 +00:00
Ensure explicit getters and setters
This commit is contained in:
@@ -17,21 +17,21 @@ namespace SabreTools.Models.NewExecutable
|
||||
/// Length of the name string that follows. A zero value indicates
|
||||
/// the end of the name table.
|
||||
/// </summary>
|
||||
public byte Length;
|
||||
public byte Length { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ASCII text of the name string.
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public byte[] NameString;
|
||||
public byte[] NameString { get; set; }
|
||||
#else
|
||||
public byte[]? NameString;
|
||||
public byte[]? NameString { get; set; }
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Ordinal number (index into entry table). This value is ignored
|
||||
/// for the module name.
|
||||
/// </summary>
|
||||
public ushort OrdinalNumber;
|
||||
public ushort OrdinalNumber { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user