This commit is contained in:
kmyuhkyuk 2022-10-13 08:50:40 +08:00
parent fd392252fa
commit fe88c316b9

View File

@ -11,7 +11,7 @@ namespace SkinHide.Utils
{ {
public static DelegateType ObjectMethodDelegate<DelegateType>(MethodInfo method, bool virtualCall = true) where DelegateType : Delegate public static DelegateType ObjectMethodDelegate<DelegateType>(MethodInfo method, bool virtualCall = true) where DelegateType : Delegate
{ {
if (method is null) if (method == null)
{ {
throw new ArgumentNullException(nameof(method)); throw new ArgumentNullException(nameof(method));
} }