fix: InvokeSafe params causing warnings for possible null parameter calls
This commit is contained in:
parent
dae72b11c5
commit
a9f5974568
@ -4,7 +4,7 @@ namespace Syntriax.Engine.Core;
|
||||
|
||||
public static class DelegateHelpers
|
||||
{
|
||||
public static void InvokeSafe(this Delegate @delegate, params object[] args)
|
||||
public static void InvokeSafe(this Delegate @delegate, params object?[] args)
|
||||
{
|
||||
if (@delegate is null)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user