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:
@@ -89,7 +89,11 @@ namespace SabreTools.Models.PortableExecutable
|
||||
/// If you specify character strings in the class and title arrays, you must use Unicode strings. Use the
|
||||
/// MultiByteToWideChar function to generate Unicode strings from ANSI strings.
|
||||
/// </remarks>
|
||||
#if NET48
|
||||
public string ClassResource;
|
||||
#else
|
||||
public string? ClassResource;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// The ordinal value of a predefined system class.
|
||||
@@ -108,7 +112,11 @@ namespace SabreTools.Models.PortableExecutable
|
||||
/// If you specify character strings in the class and title arrays, you must use Unicode strings. Use the
|
||||
/// MultiByteToWideChar function to generate Unicode strings from ANSI strings.
|
||||
/// </remarks>
|
||||
#if NET48
|
||||
public string TitleResource;
|
||||
#else
|
||||
public string? TitleResource;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// An ordinal value of a resource, such as an icon, in an executable file
|
||||
@@ -128,6 +136,10 @@ namespace SabreTools.Models.PortableExecutable
|
||||
/// When the system creates the control, it passes a pointer to this data in the lParam parameter of the
|
||||
/// WM_CREATE message that it sends to the control.
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public byte[] CreationData;
|
||||
#else
|
||||
public byte[]? CreationData;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user