39 references to ProtectedKeyword
Microsoft.CodeAnalysis.VisualBasic (39)
Binding\Binder_Utils.vb (6)
67
If badKeyword.Kind = SyntaxKind.
ProtectedKeyword
Then
89
Case SyntaxKind.
ProtectedKeyword
: Return SourceMemberFlags.Protected
1191
ReportModifierError(modifierList, If(isProperty, ERRID.ERR_StructCantUseVarSpecifier1, ERRID.ERR_StructureCantUseProtected), diagBag, SyntaxKind.
ProtectedKeyword
)
1264
ReportModifierError(modifierList, ERRID.ERR_StructureCantUseProtected, diagBag, SyntaxKind.
ProtectedKeyword
)
1686
SyntaxKind.
ProtectedKeyword
,
1699
SyntaxKind.
ProtectedKeyword
,
Declarations\DeclarationTreeBuilder.vb (1)
824
Case SyntaxKind.
ProtectedKeyword
: bit = DeclarationModifiers.Protected
Generated\Syntax.xml.Main.Generated.vb (2)
45103
SyntaxKind.
ProtectedKeyword
,
45572
Case SyntaxKind.
ProtectedKeyword
Parser\Parser.vb (5)
685
SyntaxKind.
ProtectedKeyword
,
1005
SyntaxKind.
ProtectedKeyword
,
1306
modifiers.AnyAndOnly(SyntaxKind.PublicKeyword, SyntaxKind.
ProtectedKeyword
, SyntaxKind.FriendKeyword, SyntaxKind.PrivateKeyword) Then
1850
SyntaxKind.
ProtectedKeyword
,
1943
SyntaxKind.
ProtectedKeyword
,
Scanner\KeywordTable.vb (1)
132
SyntaxKind.
ProtectedKeyword
, None,
SymbolDisplay\SymbolDisplayVisitor.vb (3)
357
AddKeyword(SyntaxKind.
ProtectedKeyword
)
361
AddKeyword(SyntaxKind.
ProtectedKeyword
)
363
AddKeyword(SyntaxKind.
ProtectedKeyword
)
Symbols\Source\SourceMemberFieldSymbol.vb (2)
442
binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_StructCantUseVarSpecifier1, diagBag.DiagnosticBag, SyntaxKind.
ProtectedKeyword
)
457
SyntaxKind.
ProtectedKeyword
,
Symbols\Source\SourceMethodSymbol.vb (6)
168
Case SyntaxKind.
ProtectedKeyword
192
If index >= modifierList.Count - 1 OrElse modifierList(index + 1).Kind <> SyntaxKind.
ProtectedKeyword
Then
235
Dim keyword = syntax.Modifiers.First(Function(m) m.Kind = SyntaxKind.
ProtectedKeyword
)
240
Dim keyword = syntax.Modifiers.First(Function(m) m.Kind = SyntaxKind.
ProtectedKeyword
)
464
SyntaxKind.PrivateKeyword, SyntaxKind.
ProtectedKeyword
, SyntaxKind.FriendKeyword)
531
SyntaxKind.PublicKeyword, SyntaxKind.PrivateKeyword, SyntaxKind.FriendKeyword, SyntaxKind.
ProtectedKeyword
)
Symbols\Source\SourceNamedTypeSymbol.vb (2)
357
SyntaxKind.
ProtectedKeyword
,
367
SyntaxKind.
ProtectedKeyword
,
Symbols\Source\SourcePropertyAccessorSymbol.vb (2)
92
binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_StructCantUseVarSpecifier1, diagnostics, SyntaxKind.
ProtectedKeyword
)
98
binder.ReportModifierError(syntax.Modifiers, ERRID.ERR_BadFlagsOnStdModuleProperty1, diagnostics, SyntaxKind.
ProtectedKeyword
)
Symbols\Source\SourcePropertySymbol.vb (1)
1150
SyntaxKind.
ProtectedKeyword
,
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
269
SyntaxKind.
ProtectedKeyword
,
Syntax\SyntaxFacts.vb (4)
538
Return GetText(SyntaxKind.
ProtectedKeyword
)
541
Return GetText(SyntaxKind.PrivateKeyword) + " " + GetText(SyntaxKind.
ProtectedKeyword
)
544
Return GetText(SyntaxKind.
ProtectedKeyword
) + " " + GetText(SyntaxKind.FriendKeyword)
1143
SyntaxKind.
ProtectedKeyword
,
Syntax\SyntaxKindFacts.vb (2)
191
SyntaxKind.
ProtectedKeyword
,
378
SyntaxKind.
ProtectedKeyword
,
Syntax\SyntaxNodeFactories.vb (1)
568
SyntaxKind.
ProtectedKeyword
,