Ensure more correct nullability

This commit is contained in:
Matt Nadareski
2023-09-10 20:47:25 -04:00
parent 89ba5f4508
commit e3c5c76ee5
39 changed files with 84 additions and 84 deletions

View File

@@ -59,7 +59,7 @@ namespace SabreTools.Models.PortableExecutable
#if NET48
public SectionHeader[] SectionTable { get; set; }
#else
public SectionHeader[]? SectionTable { get; set; }
public SectionHeader?[]? SectionTable { get; set; }
#endif
/// <summary>
@@ -68,7 +68,7 @@ namespace SabreTools.Models.PortableExecutable
#if NET48
public COFFSymbolTableEntry[] COFFSymbolTable { get; set; }
#else
public COFFSymbolTableEntry[]? COFFSymbolTable { get; set; }
public COFFSymbolTableEntry?[]? COFFSymbolTable { get; set; }
#endif
/// <summary>
@@ -86,7 +86,7 @@ namespace SabreTools.Models.PortableExecutable
#if NET48
public AttributeCertificateTableEntry[] AttributeCertificateTable { get; set; }
#else
public AttributeCertificateTableEntry[]? AttributeCertificateTable { get; set; }
public AttributeCertificateTableEntry?[]? AttributeCertificateTable { get; set; }
#endif
/// <summary>
@@ -110,7 +110,7 @@ namespace SabreTools.Models.PortableExecutable
#if NET48
public BaseRelocationBlock[] BaseRelocationTable { get; set; }
#else
public BaseRelocationBlock[]? BaseRelocationTable { get; set; }
public BaseRelocationBlock?[]? BaseRelocationTable { get; set; }
#endif
/// <summary>