SyntaxAccessibility.GetExplicitAccessibility Method
Containing Type: SyntaxAccessibility
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
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
GetExplicitAccessibility(SyntaxTokenList)
Returns an explicit accessibility of the specified modifiers.
public static Microsoft.CodeAnalysis.Accessibility GetExplicitAccessibility(Microsoft.CodeAnalysis.SyntaxTokenList modifiers)
Parameters
modifiers SyntaxTokenList