MrKWatkins.Reflection 1.3.1 Help

MethodBaseExtensions.IsProtected Method

Definition

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

public static bool IsProtected(this MethodBase method);

Parameters

Name

Type

Description

method

MethodBase

The method.

Returns

Boolean

true if the method is Protected or ProtectedInternal; false otherwise.

Last modified: 17 December 2024