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

@@ -26,7 +26,11 @@
/// <summary>
/// The Unicode string L"StringFileInfo".
/// </summary>
#if NET48
public string Key;
#else
public string? Key;
#endif
/// <summary>
/// As many zero words as necessary to align the Children member on a 32-bit boundary.
@@ -38,6 +42,10 @@
/// member indicates the appropriate language and code page for displaying the text in
/// that StringTable structure.
/// </summary>
#if NET48
public StringTable[] Children;
#else
public StringTable[]? Children;
#endif
}
}