Open sandboxFocus

Method ThrowIfMissing

ThrowIfMissing(MethodInfo?, string)

Declaration
[Obsolete("This method is no longer necessary because Metalama now generates the null check automatically.")]
public static MethodInfo ThrowIfMissing(this MethodInfo? methodInfo, string methodSignature)
Parameters
Type Name Description
MethodInfo methodInfo
string methodSignature
Returns
Type Description
MethodInfo