Seal as many of the models as possible

This commit is contained in:
Matt Nadareski
2022-12-27 17:12:55 -08:00
parent 3278420d72
commit ab6fcd73e0
132 changed files with 165 additions and 165 deletions

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/acceltableentry"/>
[StructLayout(LayoutKind.Sequential)]
public class AcceleratorTableEntry
public sealed class AcceleratorTableEntry
{
/// <summary>
/// Describes keyboard accelerator characteristics.

View File

@@ -4,7 +4,7 @@ namespace BurnOutSharp.Models.PortableExecutable
{
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
[XmlRoot(ElementName = "assembly", Namespace = "urn:schemas-microsoft-com:asm.v1")]
public class AssemblyManifest
public sealed class AssemblyManifest
{
[XmlAttribute("manifestVersion")]
public string ManifestVersion;
@@ -52,21 +52,21 @@ namespace BurnOutSharp.Models.PortableExecutable
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyActiveCodePage
public sealed class AssemblyActiveCodePage
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyAutoElevate
public sealed class AssemblyAutoElevate
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyBindingRedirect
public sealed class AssemblyBindingRedirect
{
[XmlAttribute("oldVersion")]
public string OldVersion;
@@ -76,7 +76,7 @@ namespace BurnOutSharp.Models.PortableExecutable
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyCOMClass
public sealed class AssemblyCOMClass
{
[XmlAttribute("clsid")]
public string CLSID;
@@ -98,7 +98,7 @@ namespace BurnOutSharp.Models.PortableExecutable
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyCOMInterfaceExternalProxyStub
public sealed class AssemblyCOMInterfaceExternalProxyStub
{
[XmlAttribute("iid")]
public string IID;
@@ -120,7 +120,7 @@ namespace BurnOutSharp.Models.PortableExecutable
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyCOMInterfaceProxyStub
public sealed class AssemblyCOMInterfaceProxyStub
{
[XmlAttribute("iid")]
public string IID;
@@ -142,7 +142,7 @@ namespace BurnOutSharp.Models.PortableExecutable
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyCommonLanguageRuntimeClass
public sealed class AssemblyCommonLanguageRuntimeClass
{
[XmlAttribute("name")]
public string Name;
@@ -170,7 +170,7 @@ namespace BurnOutSharp.Models.PortableExecutable
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyCommonLanguageSurrogateClass
public sealed class AssemblyCommonLanguageSurrogateClass
{
[XmlAttribute("clsid")]
public string CLSID;
@@ -183,7 +183,7 @@ namespace BurnOutSharp.Models.PortableExecutable
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyDependency
public sealed class AssemblyDependency
{
[XmlElement("dependentAssembly")]
public AssemblyDependentAssembly DependentAssembly;
@@ -193,7 +193,7 @@ namespace BurnOutSharp.Models.PortableExecutable
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyDependentAssembly
public sealed class AssemblyDependentAssembly
{
[XmlElement("assemblyIdentity")]
public AssemblyIdentity AssemblyIdentity;
@@ -203,42 +203,42 @@ namespace BurnOutSharp.Models.PortableExecutable
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyDescription
public sealed class AssemblyDescription
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyDisableTheming
public sealed class AssemblyDisableTheming
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyDisableWindowFiltering
public sealed class AssemblyDisableWindowFiltering
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyDPIAware
public sealed class AssemblyDPIAware
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyDPIAwareness
public sealed class AssemblyDPIAwareness
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyFile
public sealed class AssemblyFile
{
[XmlAttribute("name")]
public string Name;
@@ -270,28 +270,28 @@ namespace BurnOutSharp.Models.PortableExecutable
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyGDIScaling
public sealed class AssemblyGDIScaling
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyHeapType
public sealed class AssemblyHeapType
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyHighResolutionScrollingAware
public sealed class AssemblyHighResolutionScrollingAware
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyIdentity
public sealed class AssemblyIdentity
{
[XmlAttribute("name")]
public string Name;
@@ -313,45 +313,45 @@ namespace BurnOutSharp.Models.PortableExecutable
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyLongPathAware
public sealed class AssemblyLongPathAware
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyNoInherit
public sealed class AssemblyNoInherit
{
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyNoInheritable
public sealed class AssemblyNoInheritable
{
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyPrinterDriverIsolation
public sealed class AssemblyPrinterDriverIsolation
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyProgID
public sealed class AssemblyProgID
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblySupportedOS
public sealed class AssemblySupportedOS
{
[XmlAttribute("Id")]
public string Id;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyTypeLib
public sealed class AssemblyTypeLib
{
[XmlElement("tlbid")]
public string TLBID;
@@ -370,14 +370,14 @@ namespace BurnOutSharp.Models.PortableExecutable
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyUltraHighResolutionScrollingAware
public sealed class AssemblyUltraHighResolutionScrollingAware
{
[XmlText]
public string Value;
}
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
public class AssemblyWindowClass
public sealed class AssemblyWindowClass
{
[XmlAttribute("versioned")]
public string Versioned;

View File

@@ -37,7 +37,7 @@
/// the remainder of this section.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class AttributeCertificateTableEntry
public sealed class AttributeCertificateTableEntry
{
/// <summary>
/// Specifies the length of the attribute certificate entry.

View File

@@ -18,7 +18,7 @@
/// relocations do not have to be applied.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class BaseRelocationBlock
public sealed class BaseRelocationBlock
{
/// <summary>
/// The image base plus the page RVA is added to each offset to create

View File

@@ -4,7 +4,7 @@
/// Type or Offset field entry is a WORD (2 bytes).
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class BaseRelocationTypeOffsetFieldEntry
public sealed class BaseRelocationTypeOffsetFieldEntry
{
/// <summary>
/// Stored in the high 4 bits of the WORD, a value that indicates the type

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
[StructLayout(LayoutKind.Sequential)]
public class COFFFileHeader
public sealed class COFFFileHeader
{
/// <summary>
/// The number that identifies the type of target machine.

View File

@@ -17,7 +17,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
[StructLayout(LayoutKind.Explicit)]
public class COFFLineNumber
public sealed class COFFLineNumber
{
/// <summary>
/// Used when Linenumber is zero: index to symbol table entry for a function.

View File

@@ -18,7 +18,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
[StructLayout(LayoutKind.Sequential)]
public class COFFRelocation
public sealed class COFFRelocation
{
/// <summary>
/// The address of the item to which relocation is applied. This is the

View File

@@ -6,7 +6,7 @@
/// COFF header and adding the number of symbols multiplied by the size of a symbol.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class COFFStringTable
public sealed class COFFStringTable
{
/// <summary>
/// At the beginning of the COFF string table are 4 bytes that contain the

View File

@@ -18,7 +18,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// defines a symbol or name.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class COFFSymbolTableEntry
public sealed class COFFSymbolTableEntry
{
#region Standard COFF Symbol Table Entry

View File

@@ -28,7 +28,7 @@
/// randomly access the information.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/resource-file-formats"/>
public class CursorAndIconResource
public sealed class CursorAndIconResource
{
/// <summary>
/// Describes keyboard accelerator characteristics.

View File

@@ -12,7 +12,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
[StructLayout(LayoutKind.Sequential)]
public class DataDirectory
public sealed class DataDirectory
{
/// <summary>
/// The first field, VirtualAddress, is actually the RVA of the table. The RVA

View File

@@ -20,7 +20,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
[StructLayout(LayoutKind.Sequential)]
public class DebugDirectoryEntry
public sealed class DebugDirectoryEntry
{
/// <summary>
/// Reserved, must be zero.

View File

@@ -15,7 +15,7 @@
/// is mapped in the address space.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class DebugTable
public sealed class DebugTable
{
/// <summary>
/// Image files contain an optional debug directory that indicates what form

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
[StructLayout(LayoutKind.Sequential)]
public class DelayLoadDirectoryTable
public sealed class DelayLoadDirectoryTable
{
/// <summary>
/// Must be zero.

View File

@@ -7,7 +7,7 @@
/// describe the format of extended dialog box resources.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/resource-file-formats"/>
public class DialogBoxResource
public sealed class DialogBoxResource
{
#region Dialog template

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-dlgitemtemplate"/>
[StructLayout(LayoutKind.Sequential)]
public class DialogItemTemplate
public sealed class DialogItemTemplate
{
/// <summary>
/// The style of the control. This member can be a combination of window style values

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/dlgbox/dlgitemtemplateex"/>
[StructLayout(LayoutKind.Sequential)]
public class DialogItemTemplateExtended
public sealed class DialogItemTemplateExtended
{
/// <summary>
/// The help context identifier for the control. When the system sends a WM_HELP message,

View File

@@ -10,7 +10,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-dlgtemplate"/>
[StructLayout(LayoutKind.Sequential)]
public class DialogTemplate
public sealed class DialogTemplate
{
/// <summary>
/// The style of the dialog box. This member can be a combination of window style

View File

@@ -14,7 +14,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/dlgbox/dlgtemplateex"/>
[StructLayout(LayoutKind.Sequential)]
public class DialogTemplateExtended
public sealed class DialogTemplateExtended
{
/// <summary>
/// The version number of the extended dialog box template. This member must be

View File

@@ -5,7 +5,7 @@
/// definition provided here is for explanation only; it is not present in any standard header file.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/direntry"/>
public class DirEntry
public sealed class DirEntry
{
/// <summary>
/// A unique ordinal identifier for an individual font in a font resource group.

View File

@@ -7,7 +7,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// is the MS-DOS 2.0 Section, and is used for MS-DOS compatibility only.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class Executable
public sealed class Executable
{
/// <summary>
/// MS-DOS executable stub

View File

@@ -16,7 +16,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
[StructLayout(LayoutKind.Explicit)]
public class ExportAddressTableEntry
public sealed class ExportAddressTableEntry
{
/// <summary>
/// The address of the exported symbol when loaded into memory, relative to

View File

@@ -10,7 +10,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
[StructLayout(LayoutKind.Sequential)]
public class ExportDirectoryTable
public sealed class ExportDirectoryTable
{
/// <summary>
/// Reserved, must be 0.

View File

@@ -8,7 +8,7 @@
/// An export name is defined only if the export name pointer table contains a pointer to it.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class ExportNamePointerTable
public sealed class ExportNamePointerTable
{
/// <summary>
/// The pointers are 32 bits each and are relative to the image base.

View File

@@ -17,7 +17,7 @@
/// of variable length.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class ExportNameTable
public sealed class ExportNameTable
{
/// <summary>
/// A series of null-terminated ASCII strings of variable length.

View File

@@ -32,7 +32,7 @@
/// name = ExportNameTable[i];
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class ExportOrdinalTable
public sealed class ExportOrdinalTable
{
/// <summary>
/// An array of 16-bit unbiased indexes into the export address table

View File

@@ -13,7 +13,7 @@
/// exist to support use of export names.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class ExportTable
public sealed class ExportTable
{
/// <summary>
/// A table with just one row (unlike the debug directory). This table indicates the

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/verrsrc/ns-verrsrc-vs_fixedfileinfo"/>
[StructLayout(LayoutKind.Sequential)]
public class FixedFileInfo
public sealed class FixedFileInfo
{
/// <summary>
/// Contains the value 0xFEEF04BD. This is used with the szKey member of the VS_VERSIONINFO

View File

@@ -5,7 +5,7 @@
/// provided here is for explanation only; it is not present in any standard header file.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/fontdirentry"/>
public class FontDirEntry
public sealed class FontDirEntry
{
/// <summary>
/// A user-defined version number for the resource data that tools can use to read and write

View File

@@ -5,7 +5,7 @@
/// definition provided here is for explanation only; it is not present in any standard header file.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/fontgrouphdr"/>
public class FontGroupHeader
public sealed class FontGroupHeader
{
/// <summary>
/// The number of individual fonts associated with this resource.

View File

@@ -4,7 +4,7 @@
/// One hint/name table suffices for the entire import section.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class HintNameTableEntry
public sealed class HintNameTableEntry
{
/// <summary>
/// An index into the export name pointer table. A match is attempted first

View File

@@ -9,7 +9,7 @@
/// called "virtual addresses." The loader typically processes the binding.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class ImportAddressTableEntry
public sealed class ImportAddressTableEntry
{
/// <summary>
/// If this bit is set, import by ordinal. Otherwise, import by name. Bit is

View File

@@ -13,7 +13,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
[StructLayout(LayoutKind.Sequential)]
public class ImportDirectoryTableEntry
public sealed class ImportDirectoryTableEntry
{
/// <summary>
/// The RVA of the import lookup table. This table contains a name or ordinal

View File

@@ -9,7 +9,7 @@
/// (NULL) to indicate the end of the table.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class ImportLookupTableEntry
public sealed class ImportLookupTableEntry
{
/// <summary>
/// If this bit is set, import by ordinal. Otherwise, import by name. Bit is

View File

@@ -17,7 +17,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// - Hint-Name Table
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class ImportTable
public sealed class ImportTable
{
/// <summary>
/// The import information begins with the import directory table, which describes the

View File

@@ -9,7 +9,7 @@
/// of Windows, the size must be 64 for x86 images.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class LoadConfigurationDirectory
public sealed class LoadConfigurationDirectory
{
/// <summary>
/// Flags that indicate attributes of the file, currently unused.

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/menuheader"/>
[StructLayout(LayoutKind.Sequential)]
public class MenuHeader
public sealed class MenuHeader
{
/// <summary>
/// The version number of the menu template. This member must be equal to zero to indicate

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/menuex-template-header"/>
[StructLayout(LayoutKind.Sequential)]
public class MenuHeaderExtended
public sealed class MenuHeaderExtended
{
/// <summary>
/// The template version number. This member must be 1 for extended menu templates.

View File

@@ -11,7 +11,7 @@
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/normalmenuitem"/>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/popupmenuitem"/>
public class MenuItem
public sealed class MenuItem
{
#region NORMALMENUITEM

View File

@@ -5,7 +5,7 @@
/// explanation only; it is not present in any standard header file.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/menuex-template-item"/>
public class MenuItemExtended
public sealed class MenuItemExtended
{
/// <summary>
/// Describes the menu item.

View File

@@ -7,7 +7,7 @@
/// describe the format of extended menu resources.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/resource-file-formats"/>
public class MenuResource
public sealed class MenuResource
{
#region Menu header

View File

@@ -5,7 +5,7 @@
/// by the LowId and HighId members.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-message_resource_block"/>
public class MessageResourceBlock
public sealed class MessageResourceBlock
{
/// <summary>
/// The lowest message identifier contained within this structure.

View File

@@ -7,7 +7,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// box in a message table resource.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-message_resource_data"/>
public class MessageResourceData
public sealed class MessageResourceData
{
/// <summary>
/// The number of MESSAGE_RESOURCE_BLOCK structures.

View File

@@ -4,7 +4,7 @@
/// Contains the error message or message box display text for a message table resource.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-message_resource_entry"/>
public class MessageResourceEntry
public sealed class MessageResourceEntry
{
/// <summary>
/// The length, in bytes, of the MESSAGE_RESOURCE_ENTRY structure.

View File

@@ -7,7 +7,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://www.debuginfo.com/articles/debuginfomatch.html"/>
[StructLayout(LayoutKind.Sequential)]
public class NB10ProgramDatabase
public sealed class NB10ProgramDatabase
{
/// <summary>
/// "CodeView signature, equal to “NB10”

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/newheader"/>
[StructLayout(LayoutKind.Sequential)]
public class NewHeader
public sealed class NewHeader
{
/// <summary>
/// Reserved; must be zero.

View File

@@ -28,7 +28,7 @@
/// PE32+ format.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class OptionalHeader
public sealed class OptionalHeader
{
#region Standard Fields (Image Only)

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="http://www.godevtool.com/Other/pdb.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class RSDSProgramDatabase
public sealed class RSDSProgramDatabase
{
/// <summary>
/// "RSDS" signature

View File

@@ -11,7 +11,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
[StructLayout(LayoutKind.Sequential)]
public class ResourceDataEntry
public sealed class ResourceDataEntry
{
/// <summary>
/// The address of a unit of resource data in the Resource Data area.

View File

@@ -17,7 +17,7 @@
/// IMAGE_DIRECTORY_ENTRY_RESOURCE DataDirectory.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class ResourceDirectoryEntry
public sealed class ResourceDirectoryEntry
{
#region Offset 0x00

View File

@@ -8,7 +8,7 @@
/// alignment of the fixed-size directory entries.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class ResourceDirectoryString
public sealed class ResourceDirectoryString
{
/// <summary>
/// The size of the string, not including length field itself.

View File

@@ -16,7 +16,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
[StructLayout(LayoutKind.Sequential)]
public class ResourceDirectoryTable
public sealed class ResourceDirectoryTable
{
/// <summary>
/// Resource flags. This field is reserved for future use. It is currently

View File

@@ -7,7 +7,7 @@
/// explanation only; it is not present in any standard header file.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/resourceheader"/>
public class ResourceHeader
public sealed class ResourceHeader
{
/// <summary>
/// The size, in bytes, of the data that follows the resource header for this

View File

@@ -21,7 +21,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
[StructLayout(LayoutKind.Sequential)]
public class SectionHeader
public sealed class SectionHeader
{
/// <summary>
/// An 8-byte, null-padded UTF-8 encoded string. If the string is exactly 8

View File

@@ -11,7 +11,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// is protected by SecuROM.
/// </remarks>
[StructLayout(LayoutKind.Sequential)]
public class SecuROMAddD
public sealed class SecuROMAddD
{
/// <summary>
/// "AddD", Identifier?

View File

@@ -11,7 +11,7 @@ namespace BurnOutSharp.Models.PortableExecutable
/// is protected by SecuROM.
/// </remarks>
[StructLayout(LayoutKind.Sequential)]
public class SecuROMAddDEntry
public sealed class SecuROMAddDEntry
{
/// <summary>
/// Physical offset of the embedded file

View File

@@ -6,7 +6,7 @@
/// copyright notices, or its trademarks.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/string-str"/>
public class StringData
public sealed class StringData
{
/// <summary>
/// The length, in bytes, of this String structure.

View File

@@ -5,7 +5,7 @@
/// information that can be displayed for a particular language and code page.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/stringfileinfo"/>
public class StringFileInfo
public sealed class StringFileInfo
{
/// <summary>
/// The length, in bytes, of the entire StringFileInfo block, including all

View File

@@ -6,7 +6,7 @@
/// A code page is an ordered character set.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/stringtable"/>
public class StringTable
public sealed class StringTable
{
/// <summary>
/// The length, in bytes, of this StringTable structure, including all structures

View File

@@ -1,7 +1,7 @@
namespace BurnOutSharp.Models.PortableExecutable
{
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public class TLSDirectory
public sealed class TLSDirectory
{
#region RawDataStartVA

View File

@@ -6,7 +6,7 @@
/// DLL supports.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/var-str"/>
public class VarData
public sealed class VarData
{
/// <summary>
/// The length, in bytes, of the Var structure.

View File

@@ -5,7 +5,7 @@
/// information not dependent on a particular language and code page combination.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/varfileinfo"/>
public class VarFileInfo
public sealed class VarFileInfo
{
/// <summary>
/// The length, in bytes, of the entire VarFileInfo block, including all structures

View File

@@ -5,7 +5,7 @@
/// structure that contains all other file-version information structures.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/vs-versioninfo"/>
public class VersionInfo
public sealed class VersionInfo
{
/// <summary>
/// The length, in bytes, of the VS_VERSIONINFO structure. This length does not