Skip to content

MethodBaseExtensions.EnumerateOverloads Method ​

Definition ​

Enumerates the overloads of the specified method that are declared in the same type.

c#
public static IEnumerable<MethodBase> EnumerateOverloads(this MethodBase method);

View source

Parameters ​

NameTypeDescription
methodMethodBaseThe method.

Returns ​

IEnumerable<MethodBase>

The overloads of method declared in the same type; will be empty if the method is not overloaded.