39 references to ProtectedKeyword
Microsoft.CodeAnalysis.VisualBasic (39)
Binding\Binder_Utils.vb (6)
67If badKeyword.Kind = SyntaxKind.ProtectedKeyword Then 89Case SyntaxKind.ProtectedKeyword : Return SourceMemberFlags.Protected 1191ReportModifierError(modifierList, If(isProperty, ERRID.ERR_StructCantUseVarSpecifier1, ERRID.ERR_StructureCantUseProtected), diagBag, SyntaxKind.ProtectedKeyword) 1264ReportModifierError(modifierList, ERRID.ERR_StructureCantUseProtected, diagBag, SyntaxKind.ProtectedKeyword) 1686SyntaxKind.ProtectedKeyword, 1699SyntaxKind.ProtectedKeyword,
Declarations\DeclarationTreeBuilder.vb (1)
824Case SyntaxKind.ProtectedKeyword : bit = DeclarationModifiers.Protected
Generated\Syntax.xml.Main.Generated.vb (2)
45103SyntaxKind.ProtectedKeyword, 45572Case SyntaxKind.ProtectedKeyword
Parser\Parser.vb (5)
691SyntaxKind.ProtectedKeyword, 1011SyntaxKind.ProtectedKeyword, 1312modifiers.AnyAndOnly(SyntaxKind.PublicKeyword, SyntaxKind.ProtectedKeyword, SyntaxKind.FriendKeyword, SyntaxKind.PrivateKeyword) Then 1856SyntaxKind.ProtectedKeyword, 1949SyntaxKind.ProtectedKeyword,
Scanner\KeywordTable.vb (1)
132SyntaxKind.ProtectedKeyword, None,
SymbolDisplay\SymbolDisplayVisitor.vb (3)
357AddKeyword(SyntaxKind.ProtectedKeyword) 361AddKeyword(SyntaxKind.ProtectedKeyword) 363AddKeyword(SyntaxKind.ProtectedKeyword)
Symbols\Source\SourceMemberFieldSymbol.vb (2)
443binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_StructCantUseVarSpecifier1, diagBag.DiagnosticBag, SyntaxKind.ProtectedKeyword) 458SyntaxKind.ProtectedKeyword,
Symbols\Source\SourceMethodSymbol.vb (6)
169Case SyntaxKind.ProtectedKeyword 193If index >= modifierList.Count - 1 OrElse modifierList(index + 1).Kind <> SyntaxKind.ProtectedKeyword Then 236Dim keyword = syntax.Modifiers.First(Function(m) m.Kind = SyntaxKind.ProtectedKeyword) 241Dim keyword = syntax.Modifiers.First(Function(m) m.Kind = SyntaxKind.ProtectedKeyword) 465SyntaxKind.PrivateKeyword, SyntaxKind.ProtectedKeyword, SyntaxKind.FriendKeyword) 532SyntaxKind.PublicKeyword, SyntaxKind.PrivateKeyword, SyntaxKind.FriendKeyword, SyntaxKind.ProtectedKeyword)
Symbols\Source\SourceNamedTypeSymbol.vb (2)
361SyntaxKind.ProtectedKeyword, 371SyntaxKind.ProtectedKeyword,
Symbols\Source\SourcePropertyAccessorSymbol.vb (2)
93binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_StructCantUseVarSpecifier1, diagnostics, SyntaxKind.ProtectedKeyword) 99binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadFlagsOnStdModuleProperty1, diagnostics, SyntaxKind.ProtectedKeyword)
Symbols\Source\SourcePropertySymbol.vb (1)
1196SyntaxKind.ProtectedKeyword,
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
269SyntaxKind.ProtectedKeyword,
Syntax\SyntaxFacts.vb (4)
538Return GetText(SyntaxKind.ProtectedKeyword) 541Return GetText(SyntaxKind.PrivateKeyword) + " " + GetText(SyntaxKind.ProtectedKeyword) 544Return GetText(SyntaxKind.ProtectedKeyword) + " " + GetText(SyntaxKind.FriendKeyword) 1143SyntaxKind.ProtectedKeyword,
Syntax\SyntaxKindFacts.vb (2)
191SyntaxKind.ProtectedKeyword, 378SyntaxKind.ProtectedKeyword,
Syntax\SyntaxNodeFactories.vb (1)
583SyntaxKind.ProtectedKeyword,