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