summaryrefslogtreecommitdiff
path: root/src/SMAPI.Toolkit/Serialization/Models/Manifest.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-07 01:51:50 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-07 01:51:50 -0400
commit6b05296e71c32abd158f354eeeaf1e135e72e6e2 (patch)
tree417ee622b7cf56bc98f6a55ddb7ab63f414c25e4 /src/SMAPI.Toolkit/Serialization/Models/Manifest.cs
parente58e8a22836081ec4baffa5a9b4b093a329f3d88 (diff)
downloadSMAPI-6b05296e71c32abd158f354eeeaf1e135e72e6e2.tar.gz
SMAPI-6b05296e71c32abd158f354eeeaf1e135e72e6e2.tar.bz2
SMAPI-6b05296e71c32abd158f354eeeaf1e135e72e6e2.zip
migrate mod build package to .NET 5 to allow full nullable annotations (#837)
Diffstat (limited to 'src/SMAPI.Toolkit/Serialization/Models/Manifest.cs')
-rw-r--r--src/SMAPI.Toolkit/Serialization/Models/Manifest.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/SMAPI.Toolkit/Serialization/Models/Manifest.cs b/src/SMAPI.Toolkit/Serialization/Models/Manifest.cs
index 01010602..3ab5edfb 100644
--- a/src/SMAPI.Toolkit/Serialization/Models/Manifest.cs
+++ b/src/SMAPI.Toolkit/Serialization/Models/Manifest.cs
@@ -115,9 +115,7 @@ namespace StardewModdingAPI.Toolkit.Serialization.Models
*********/
/// <summary>Normalize whitespace in a raw string.</summary>
/// <param name="input">The input to strip.</param>
-#if NET5_0_OR_GREATER
[return: NotNullIfNotNull("input")]
-#endif
private string? NormalizeWhitespace(string? input)
{
return input