MrKWatkins.Reflection 1.3.1 Help

MethodBaseExtensions Class

Definition

Extension methods for MethodBase.

public static class MethodBaseExtensions

Methods

Name

Description

EnumerateOverloads(MethodBase)

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

GetAccessibility(MethodBase)

Returns the Accessibility of the specified MethodBase.

HasPublicOrProtectedOverloads(MethodBase)

Returns true if the specified MethodBase has public or protected overloads, as viewed from an external assembly, i.e. their Accessibility is Public, Protected or ProtectedInternal; false otherwise.

IsProtected(MethodBase)

Returns true if the method is protected as viewed from an external assembly, i.e. its Accessibility is Protected or ProtectedInternal; false otherwise.

IsPublic(MethodBase)

Returns true if the method is public, i.e. its Accessibility is Public; false otherwise.

IsPublicOrProtected(MethodBase)

Returns true if the method is public or protected as viewed from an external assembly, i.e. its Accessibility is Public, Protected or ProtectedInternal; false otherwise.

Last modified: 17 December 2024