summaryrefslogtreecommitdiff
path: root/src/SMAPI/Utilities/SDate.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-07-06 19:24:49 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-07-06 19:24:49 -0400
commit4d9fd63d9e890a10029508c7d7e31dcc0b579db7 (patch)
treec47086a924b0a39bf5e2aaf0323f83e962ddfaa8 /src/SMAPI/Utilities/SDate.cs
parent2347644a1fa3537b198d063232ba814769ffe044 (diff)
downloadSMAPI-4d9fd63d9e890a10029508c7d7e31dcc0b579db7.tar.gz
SMAPI-4d9fd63d9e890a10029508c7d7e31dcc0b579db7.tar.bz2
SMAPI-4d9fd63d9e890a10029508c7d7e31dcc0b579db7.zip
update code annotations
Diffstat (limited to 'src/SMAPI/Utilities/SDate.cs')
-rw-r--r--src/SMAPI/Utilities/SDate.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Utilities/SDate.cs b/src/SMAPI/Utilities/SDate.cs
index 1d4e4489..c7ad41bd 100644
--- a/src/SMAPI/Utilities/SDate.cs
+++ b/src/SMAPI/Utilities/SDate.cs
@@ -250,7 +250,7 @@ namespace StardewModdingAPI.Utilities
/// <param name="year">The year.</param>
/// <param name="allowDayZero">Whether to allow 0 spring Y1 as a valid date.</param>
/// <exception cref="ArgumentException">One of the arguments has an invalid value (like day 35).</exception>
- [SuppressMessage("ReSharper", "ConstantConditionalAccessQualifier", Justification = "The nullability is validated in this constructor.")]
+ [SuppressMessage("ReSharper", "ConditionalAccessQualifierIsNonNullableAccordingToAPIContract", Justification = "The nullability is validated in this constructor.")]
private SDate(int day, string season, int year, bool allowDayZero)
{
season = season?.Trim().ToLowerInvariant()!; // null-checked below