MethodInfoExtensions.IsCSharpOperator Method
Definition
Returns true
if the specified method is a C# operator; false
otherwise.
public static bool IsCSharpOperator(this MethodInfo method);
Parameters
Name | Type | Description |
---|---|---|
method | The method. |
Returns
true
if the method
is a C# operator; false
otherwise.
Remarks
Checks if the method is public, static, its name matches one of the operator method names and that the method has the correct signature.
Last modified: 17 December 2024