From 2dc20be5f711c50cc80de024c8a6afb96c04d8a1 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 16 Apr 2022 11:10:13 -0400 Subject: use specified nullability in reflection API (#837) --- src/SMAPI/IReflectedProperty.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SMAPI/IReflectedProperty.cs') diff --git a/src/SMAPI/IReflectedProperty.cs b/src/SMAPI/IReflectedProperty.cs index ad55b9a1..73ad9f30 100644 --- a/src/SMAPI/IReflectedProperty.cs +++ b/src/SMAPI/IReflectedProperty.cs @@ -17,10 +17,10 @@ namespace StardewModdingAPI ** Public methods *********/ /// Get the property value. - TValue? GetValue(); + TValue GetValue(); /// Set the property value. //// The value to set. - void SetValue(TValue? value); + void SetValue(TValue value); } } -- cgit