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

@@ -27,7 +27,7 @@ namespace SabreTools.Models.LinearExecutable
/// This defines the length of the string in bytes. The length of each
/// ascii name string is limited to 127 characters.
/// </remarks>
public byte Length;
public byte Length { get; set; }
/// <summary>
/// ASCII String.
@@ -37,9 +37,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
}
}