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

@@ -19,7 +19,7 @@
/// describes the format of the entry table bundles.
/// </remarks>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
public class EntryTableBundle
public sealed class EntryTableBundle
{
/// <summary>
/// Number of entries in this bundle. All records in one bundle

View File

@@ -11,7 +11,7 @@ namespace BurnOutSharp.Models.NewExecutable
/// modules in the system and to support dynamic linking.
/// </summary>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
public class Executable
public sealed class Executable
{
/// <summary>
/// MS-DOS executable stub

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.NewExecutable
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
/// <see href="https://github.com/libyal/libexe/blob/main/documentation/Executable%20(EXE)%20file%20format.asciidoc#24-ne-extended-header"/>
[StructLayout(LayoutKind.Sequential)]
public class ExecutableHeader
public sealed class ExecutableHeader
{
/// <summary>
/// Signature word.

View File

@@ -4,7 +4,7 @@ namespace BurnOutSharp.Models.NewExecutable
{
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class ImportNameRelocationRecord
public sealed class ImportNameRelocationRecord
{
/// <summary>
/// Index into module reference table for the imported module.

View File

@@ -4,7 +4,7 @@ namespace BurnOutSharp.Models.NewExecutable
{
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class ImportOrdinalRelocationRecord
public sealed class ImportOrdinalRelocationRecord
{
/// <summary>
/// Index into module reference table for the imported module.

View File

@@ -12,7 +12,7 @@ namespace BurnOutSharp.Models.NewExecutable
/// </summary>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class ImportedNameTableEntry
public sealed class ImportedNameTableEntry
{
/// <summary>
/// Length of the name string that follows. A zero value indicates

View File

@@ -4,7 +4,7 @@ namespace BurnOutSharp.Models.NewExecutable
{
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class InternalRefRelocationRecord
public sealed class InternalRefRelocationRecord
{
/// <summary>
/// Segment number for a fixed segment, or 0FFh for a

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.NewExecutable
/// </summary>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class ModuleReferenceTableEntry
public sealed class ModuleReferenceTableEntry
{
/// <summary>
/// Offset within Imported Names Table to referenced module name string.

View File

@@ -12,7 +12,7 @@ namespace BurnOutSharp.Models.NewExecutable
/// </summary>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class NonResidentNameTableEntry
public sealed class NonResidentNameTableEntry
{
/// <summary>
/// Length of the name string that follows. A zero value indicates

View File

@@ -4,7 +4,7 @@ namespace BurnOutSharp.Models.NewExecutable
{
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class OSFixupRelocationRecord
public sealed class OSFixupRelocationRecord
{
/// <summary>
/// Operating system fixup type.

View File

@@ -8,7 +8,7 @@
/// is defined as follows:
/// </summary>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
public class PerSegmentData
public sealed class PerSegmentData
{
/// <summary>
/// Number of relocation records that follow.

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.NewExecutable
/// </summary>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class RelocationRecord
public sealed class RelocationRecord
{
/// <summary>
/// Source type.

View File

@@ -11,7 +11,7 @@ namespace BurnOutSharp.Models.NewExecutable
/// </summary>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class ResidentNameTableEntry
public sealed class ResidentNameTableEntry
{
/// <summary>
/// Length of the name string that follows. A zero value indicates

View File

@@ -15,7 +15,7 @@ namespace BurnOutSharp.Models.NewExecutable
/// </summary>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class ResourceTable
public sealed class ResourceTable
{
/// <summary>
/// Alignment shift count for resource data.

View File

@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.NewExecutable
/// </summary>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class ResourceTypeAndNameString
public sealed class ResourceTypeAndNameString
{
/// <summary>
/// Length of the type or name string that follows. A zero value

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.NewExecutable
/// </summary>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class ResourceTypeInformationEntry
public sealed class ResourceTypeInformationEntry
{
/// <summary>
/// Type ID. This is an integer type if the high-order bit is

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.NewExecutable
/// </summary>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class ResourceTypeResourceEntry
public sealed class ResourceTypeResourceEntry
{
/// <summary>
/// File offset to the contents of the resource data,

View File

@@ -10,7 +10,7 @@ namespace BurnOutSharp.Models.NewExecutable
/// </summary>
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
[StructLayout(LayoutKind.Sequential)]
public class SegmentTableEntry
public sealed class SegmentTableEntry
{
/// <summary>
/// Logical-sector offset (n byte) to the contents of the segment