mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-02-17 13:56:04 +00:00
Fix warnings from nullabilty
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user