public static bool IsPrivate([NotNull] this ICSharpModifiersOwnerDeclaration declaration) { return(declaration.HasModifier(CSharpTokenType.PRIVATE_KEYWORD)); }
public static bool IsProtected([NotNull] this ICSharpModifiersOwnerDeclaration declaration) { return(declaration.HasModifier(CSharpTokenType.PROTECTED_KEYWORD)); }
public static bool IsPublic([NotNull] this ICSharpModifiersOwnerDeclaration declaration) { return(declaration.HasModifier(CSharpTokenType.PUBLIC_KEYWORD)); }