Skip to main content

SyntaxAccessibility.GetExplicitAccessibility Method

Containing Type: SyntaxAccessibility

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
GetExplicitAccessibility(SyntaxNode)Returns an explicit accessibility of the specified declaration.
GetExplicitAccessibility(SyntaxTokenList)Returns an explicit accessibility of the specified modifiers.

GetExplicitAccessibility(SyntaxNode)

Returns an explicit accessibility of the specified declaration.

public static Microsoft.CodeAnalysis.Accessibility GetExplicitAccessibility(Microsoft.CodeAnalysis.SyntaxNode declaration)

Parameters

declaration SyntaxNode

Returns

Accessibility

GetExplicitAccessibility(SyntaxTokenList)

Returns an explicit accessibility of the specified modifiers.

public static Microsoft.CodeAnalysis.Accessibility GetExplicitAccessibility(Microsoft.CodeAnalysis.SyntaxTokenList modifiers)

Parameters

modifiers SyntaxTokenList

Returns

Accessibility