mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 07:37:10 +00:00
Fix warnings from nullabilty
This commit is contained in:
@@ -29,7 +29,11 @@
|
||||
/// <summary>
|
||||
/// The Unicode string L"VS_VERSION_INFO".
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public string Key;
|
||||
#else
|
||||
public string? Key;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Contains as many zero words as necessary to align the Value member on a 32-bit boundary.
|
||||
@@ -40,7 +44,11 @@
|
||||
/// Arbitrary data associated with this VS_VERSIONINFO structure. The ValueLength member
|
||||
/// specifies the length of this member; if ValueLength is zero, this member does not exist.
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public FixedFileInfo Value;
|
||||
#else
|
||||
public FixedFileInfo? Value;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// As many zero words as necessary to align the Children member on a 32-bit boundary.
|
||||
@@ -51,11 +59,19 @@
|
||||
/// <summary>
|
||||
/// The StringFileInfo structure to store user-defined string information data.
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public StringFileInfo StringFileInfo;
|
||||
#else
|
||||
public StringFileInfo? StringFileInfo;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// The VarFileInfo structure to store language information data.
|
||||
/// </summary>
|
||||
#if NET48
|
||||
public VarFileInfo VarFileInfo;
|
||||
#else
|
||||
public VarFileInfo? VarFileInfo;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user