Fix warnings from nullabilty

This commit is contained in:
Matt Nadareski
2023-09-04 21:14:41 -04:00
parent 46824bd91d
commit 0e23d131fe
212 changed files with 3018 additions and 1 deletions

View File

@@ -17,11 +17,19 @@ namespace SabreTools.Models.PortableExecutable
/// <summary>
/// An array of structures. The array is the size indicated by the NumberOfBlocks member.
/// </summary>
#if NET48
public MessageResourceBlock[] Blocks;
#else
public MessageResourceBlock[]? Blocks;
#endif
/// <summary>
/// Message resource entries
/// </summary>
#if NET48
public Dictionary<uint, MessageResourceEntry> Entries;
#else
public Dictionary<uint, MessageResourceEntry?>? Entries;
#endif
}
}