mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-20 00:18:02 +03:00
Update code style to follow project rules with one-liner namespace declarations
This commit is contained in:
@ -1,30 +1,29 @@
|
||||
namespace X86Disassembler.PE
|
||||
namespace X86Disassembler.PE;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the Export Directory of a PE file
|
||||
/// </summary>
|
||||
public class ExportDirectory
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the Export Directory of a PE file
|
||||
/// </summary>
|
||||
public class ExportDirectory
|
||||
{
|
||||
public uint Characteristics; // Reserved, must be 0
|
||||
public uint TimeDateStamp; // Time and date stamp
|
||||
public ushort MajorVersion; // Major version
|
||||
public ushort MinorVersion; // Minor version
|
||||
public uint Name; // RVA of the name of the DLL
|
||||
public string DllName; // The actual name of the DLL
|
||||
public uint Base; // Ordinal base
|
||||
public uint NumberOfFunctions; // Number of functions
|
||||
public uint NumberOfNames; // Number of names
|
||||
public uint AddressOfFunctions; // RVA of the export address table
|
||||
public uint AddressOfNames; // RVA of the export names table
|
||||
public uint AddressOfNameOrdinals; // RVA of the ordinal table
|
||||
public uint Characteristics; // Reserved, must be 0
|
||||
public uint TimeDateStamp; // Time and date stamp
|
||||
public ushort MajorVersion; // Major version
|
||||
public ushort MinorVersion; // Minor version
|
||||
public uint Name; // RVA of the name of the DLL
|
||||
public string DllName; // The actual name of the DLL
|
||||
public uint Base; // Ordinal base
|
||||
public uint NumberOfFunctions; // Number of functions
|
||||
public uint NumberOfNames; // Number of names
|
||||
public uint AddressOfFunctions; // RVA of the export address table
|
||||
public uint AddressOfNames; // RVA of the export names table
|
||||
public uint AddressOfNameOrdinals; // RVA of the ordinal table
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the ExportDirectory class
|
||||
/// </summary>
|
||||
public ExportDirectory()
|
||||
{
|
||||
// Initialize string field to avoid nullability warning
|
||||
DllName = string.Empty;
|
||||
}
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the ExportDirectory class
|
||||
/// </summary>
|
||||
public ExportDirectory()
|
||||
{
|
||||
// Initialize string field to avoid nullability warning
|
||||
DllName = string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user