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/IReflectedMethod.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/IReflectedMethod.cs')
-rw-r--r-- | src/SMAPI/IReflectedMethod.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/IReflectedMethod.cs b/src/SMAPI/IReflectedMethod.cs index 6d87966a..04636b84 100644 --- a/src/SMAPI/IReflectedMethod.cs +++ b/src/SMAPI/IReflectedMethod.cs @@ -18,7 +18,7 @@ namespace StardewModdingAPI /// <summary>Invoke the method.</summary> /// <typeparam name="TValue">The return type.</typeparam> /// <param name="arguments">The method arguments to pass in.</param> - TValue? Invoke<TValue>(params object?[] arguments); + TValue Invoke<TValue>(params object?[] arguments); /// <summary>Invoke the method.</summary> /// <param name="arguments">The method arguments to pass in.</param> |