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:
@@ -35,7 +35,7 @@ namespace SabreTools.Models.LinearExecutable
|
||||
/// linear EXE module and will be used in the future for parameter type
|
||||
/// checking.
|
||||
/// </remarks>
|
||||
public byte Length;
|
||||
public byte Length { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ASCII String.
|
||||
@@ -45,9 +45,9 @@ namespace SabreTools.Models.LinearExecutable
|
||||
/// the LEN field. The string is case sensitive and is not null terminated.
|
||||
/// </remarks>
|
||||
#if NET48
|
||||
public string Name;
|
||||
public string Name { get; set; }
|
||||
#else
|
||||
public string? Name;
|
||||
public string? Name { get; set; }
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user