30 references to ConstKeyword
Microsoft.CodeAnalysis.VisualBasic (30)
Binding\Binder_Utils.vb (2)
100
Case SyntaxKind.
ConstKeyword
: Return SourceMemberFlags.Const
1711
SyntaxKind.
ConstKeyword
,
Binding\StatementListBinder.vb (1)
56
Case SyntaxKind.
ConstKeyword
Compilation\SyntaxTreeSemanticModel.vb (1)
1648
Case SyntaxKind.
ConstKeyword
Declarations\DeclarationTreeBuilder.vb (1)
841
Case SyntaxKind.
ConstKeyword
: bit = DeclarationModifiers.Const
Generated\Syntax.xml.Internal.Generated.vb (2)
45850
Debug.Assert(constKeyword IsNot Nothing AndAlso constKeyword.Kind = SyntaxKind.
ConstKeyword
)
57916
Debug.Assert(constKeyword IsNot Nothing AndAlso constKeyword.Kind = SyntaxKind.
ConstKeyword
)
Generated\Syntax.xml.Main.Generated.vb (5)
42955
Case SyntaxKind.
ConstKeyword
43096
Return SyntaxFactory.ConstDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
ConstKeyword
), name, SyntaxFactory.Token(SyntaxKind.EqualsToken), value)
43111
Return SyntaxFactory.ConstDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
ConstKeyword
), SyntaxFactory.Identifier(name), SyntaxFactory.Token(SyntaxKind.EqualsToken), value)
45018
SyntaxKind.
ConstKeyword
,
45402
Case SyntaxKind.
ConstKeyword
Parser\BlockContexts\ExecutableStatementContext.vb (1)
150
If Not DirectCast(node, MethodBaseSyntax).Modifiers.Any(SyntaxKind.DimKeyword, SyntaxKind.
ConstKeyword
) Then
Parser\ParseConditional.vb (2)
63
Case SyntaxKind.
ConstKeyword
226
Debug.Assert(CurrentToken.Kind = SyntaxKind.
ConstKeyword
)
Parser\Parser.vb (4)
700
SyntaxKind.
ConstKeyword
,
1018
SyntaxKind.
ConstKeyword
,
1037
If Not modifiers.Any(SyntaxKind.DimKeyword, SyntaxKind.
ConstKeyword
) Then
1969
SyntaxKind.
ConstKeyword
,
Scanner\KeywordTable.vb (1)
48
SyntaxKind.
ConstKeyword
, None,
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
599
AddKeyword(SyntaxKind.
ConstKeyword
)
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
185
SyntaxKind.
ConstKeyword
,
Syntax\SyntaxEquivalence.vb (2)
115
Dim isConstBefore = fieldBefore.Modifiers.Any(SyntaxKind.
ConstKeyword
)
116
Dim isConstAfter = fieldAfter.Modifiers.Any(SyntaxKind.
ConstKeyword
)
Syntax\SyntaxKindFacts.vb (5)
69
SyntaxKind.
ConstKeyword
,
106
SyntaxKind.
ConstKeyword
,
359
SyntaxKind.
ConstKeyword
,
394
SyntaxKind.
ConstKeyword
,
836
{"const", SyntaxKind.
ConstKeyword
},
Syntax\SyntaxNodeFactories.vb (1)
484
SyntaxKind.
ConstKeyword
,