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

@@ -14,12 +14,12 @@
/// particular resource. It does not include any file padding between this
/// resource and any resource that follows it in the resource file.
/// </summary>
public uint DataSize;
public uint DataSize { get; set; }
/// <summary>
/// The size, in bytes, of the resource header data that follows.
/// </summary>
public uint HeaderSize;
public uint HeaderSize { get; set; }
/// <summary>
/// The resource type. The TYPE member can either be a numeric value or a
@@ -32,7 +32,7 @@
///
/// Values less than 256 are reserved for system use.
/// </summary>
public ResourceType ResourceType;
public ResourceType ResourceType { get; set; }
/// <summary>
/// A name that identifies the particular resource. The NAME member, like the TYPE
@@ -44,13 +44,13 @@
/// members because they contain WORD data. However, you may need to add a WORD of
/// padding after the NAME member to align the rest of the header on DWORD boundaries.
/// </summary>
public uint Name;
public uint Name { get; set; }
/// <summary>
/// A predefined resource data version. This will determine which version of the
/// resource data the application should use.
/// </summary>
public uint DataVersion;
public uint DataVersion { get; set; }
/// <summary>
/// A set of attribute flags that can describe the state of the resource. Modifiers
@@ -62,7 +62,7 @@
/// ignored. Resources are loaded when the corresponding module is loaded, and are
/// freed when the module is unloaded.
/// </summary>
public MemoryFlags MemoryFlags;
public MemoryFlags MemoryFlags { get; set; }
/// <summary>
/// The language for the resource or set of resources. Set the value for this member
@@ -75,20 +75,20 @@
/// the strings within the resources, you will need to specify a LanguageId for each
/// one.
/// </summary>
public ushort LanguageId;
public ushort LanguageId { get; set; }
/// <summary>
/// A user-defined version number for the resource data that tools can use to read and
/// write resource files. Set this value with the optional VERSION resource definition
/// statement.
/// </summary>
public uint Version;
public uint Version { get; set; }
/// <summary>
/// Specifies user-defined information about the resource that tools can use to read and
/// write resource files. Set this value with the optional CHARACTERISTICS resource
/// definition statement.
/// </summary>
public uint Characteristics;
public uint Characteristics { get; set; }
}
}