Skip to content

MethodInfoExtensions.IsExtensionMethod Method ​

Definition ​

Returns true if the specified method is an extension method; false otherwise.

c#
public static bool IsExtensionMethod(this MethodInfo method);

View source

Parameters ​

NameTypeDescription
methodMethodInfoThe method.

Returns ​

Boolean

true if the method is an extension method; false otherwise.