Skip to content

MethodInfoExtensions.HasPublicOrProtectedOverloads Method ​

Definition ​

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.

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

View source

Parameters ​

NameTypeDescription
methodMethodInfoThe method.

Returns ​

Boolean

true if method has public or protected overloads; false otherwise.