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

@@ -18,15 +18,15 @@ 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
}
}