summaryrefslogtreecommitdiff
path: root/src/SMAPI/SemanticVersion.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/SemanticVersion.cs')
-rw-r--r--src/SMAPI/SemanticVersion.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/SemanticVersion.cs b/src/SMAPI/SemanticVersion.cs
index 7a6cdcdd..81e526e7 100644
--- a/src/SMAPI/SemanticVersion.cs
+++ b/src/SMAPI/SemanticVersion.cs
@@ -85,6 +85,9 @@ namespace StardewModdingAPI
}
/// <inheritdoc />
+#if NET5_0_OR_GREATER
+ [MemberNotNullWhen(true, nameof(SemanticVersion.PrereleaseTag))]
+#endif
public bool IsPrerelease()
{
return this.Version.IsPrerelease();