MethodInfoExtensions Class
Definition
Extension methods for MethodInfo.
c#
public static class MethodInfoExtensionsMethods
| Name | Description |
|---|---|
EnumerateOverloads(MethodInfo) | Enumerates the overloads of the specified method that are declared in the same type. |
GetCSharpOperator(MethodInfo) | Returns the relevant CSharpOperator value if the specified method is a C# operator; null otherwise. |
GetVirtuality(MethodInfo) | Gets the Virtuality of the specified MethodInfo. |
HasPublicOrProtectedOverloads(MethodInfo) | Returns true if the specified MethodInfo has public or protected overloads, as viewed from an external assembly, that is, their Accessibility is Public, Protected or ProtectedInternal; false otherwise. |
IsCSharpOperator(MethodInfo) | Returns true if the specified method is a C# operator; false otherwise. |
IsExtensionMethod(MethodInfo) | Returns true if the specified method is an extension method; false otherwise. |
IsNew(MethodInfo) | Returns true if the specified method has the new modifier; false otherwise. |
IsReturnNullableReferenceType(MethodInfo) | Returns true if the specified method's return type is a nullable reference type. |