Remove framework gating

This commit is contained in:
Matt Nadareski
2023-11-07 20:57:05 -05:00
parent e582ce8726
commit 1f340bd244
368 changed files with 5 additions and 7413 deletions

View File

@@ -23,39 +23,23 @@ namespace SabreTools.Models.PortableExecutable
/// The import information begins with the import directory table, which describes the
/// remainder of the import information.
/// </summary>
#if NET48
public ImportDirectoryTableEntry[] ImportDirectoryTable { get; set; }
#else
public ImportDirectoryTableEntry?[]? ImportDirectoryTable { get; set; }
#endif
/// <summary>
/// An import lookup table is an array of 32-bit numbers for PE32 or an array of 64-bit
/// numbers for PE32+.
/// </summary>
#if NET48
public Dictionary<int, ImportLookupTableEntry[]> ImportLookupTables { get; set; }
#else
public Dictionary<int, ImportLookupTableEntry?[]?>? ImportLookupTables { get; set; }
#endif
/// <summary>
/// These addresses are the actual memory addresses of the symbols, although technically
/// they are still called "virtual addresses".
/// </summary>
#if NET48
public Dictionary<int, ImportAddressTableEntry[]> ImportAddressTables { get; set; }
#else
public Dictionary<int, ImportAddressTableEntry?[]?>? ImportAddressTables { get; set; }
#endif
/// <summary>
/// One hint/name table suffices for the entire import section.
/// </summary>
#if NET48
public HintNameTableEntry[] HintNameTable { get; set; }
#else
public HintNameTableEntry?[]? HintNameTable { get; set; }
#endif
}
}