mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 15:47:27 +00:00
Fix warnings from nullabilty
This commit is contained in:
@@ -24,7 +24,11 @@
|
||||
/// A null-terminated Unicode string that contains the text for this menu item.
|
||||
/// There is no fixed limit on the size of this string.
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public string NormalMenuText;
|
||||
#else
|
||||
public string? NormalMenuText;
|
||||
#endif
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -55,7 +59,11 @@
|
||||
/// A null-terminated Unicode string that contains the text for this menu item.
|
||||
/// There is no fixed limit on the size of this string.
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public string PopupMenuText;
|
||||
#else
|
||||
public string? PopupMenuText;
|
||||
#endif
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user