diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-16 11:10:13 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-16 11:10:13 -0400 |
commit | 2dc20be5f711c50cc80de024c8a6afb96c04d8a1 (patch) | |
tree | 2b367f58c99ab63c313e3beda59b0bdab946c1a4 /src/SMAPI/IReflectedProperty.cs | |
parent | c0d0ad0282169a829ffee4808088ebf434ba498d (diff) | |
download | SMAPI-2dc20be5f711c50cc80de024c8a6afb96c04d8a1.tar.gz SMAPI-2dc20be5f711c50cc80de024c8a6afb96c04d8a1.tar.bz2 SMAPI-2dc20be5f711c50cc80de024c8a6afb96c04d8a1.zip |
use specified nullability in reflection API (#837)
Diffstat (limited to 'src/SMAPI/IReflectedProperty.cs')
-rw-r--r-- | src/SMAPI/IReflectedProperty.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 *********/ /// <summary>Get the property value.</summary> - TValue? GetValue(); + TValue GetValue(); /// <summary>Set the property value.</summary> //// <param name="value">The value to set.</param> - void SetValue(TValue? value); + void SetValue(TValue value); } } |