summaryrefslogtreecommitdiff
path: root/src/SMAPI.Toolkit/Serialization/Models/ManifestDependency.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Toolkit/Serialization/Models/ManifestDependency.cs')
-rw-r--r--src/SMAPI.Toolkit/Serialization/Models/ManifestDependency.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI.Toolkit/Serialization/Models/ManifestDependency.cs b/src/SMAPI.Toolkit/Serialization/Models/ManifestDependency.cs
index 5d1b73b1..fa254ea7 100644
--- a/src/SMAPI.Toolkit/Serialization/Models/ManifestDependency.cs
+++ b/src/SMAPI.Toolkit/Serialization/Models/ManifestDependency.cs
@@ -54,7 +54,9 @@ 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?.Trim();