SyntaxAccessibility.IsPubliclyVisible(MemberDeclarationSyntax) Method
Containing Type: SyntaxAccessibility
Assembly: Roslynator.CSharp.dll
Return true if the specified declaration is publicly visible.
public static bool IsPubliclyVisible(Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax declaration)
Parameters
declaration MemberDeclarationSyntax