CSharpProcedural.

GetRestrictivenessModifier(MethodInfo) Method

Summary

Returns the restrictiveness modifier (public/private/protected/internal) of the specified `method`.

Syntax

public static AccessModifiers GetRestrictivenessModifier(MethodInfo method)

Parameters

Name Type Description
method MethodInfo

Return Value

Type Description
AccessModifiers