27 references to VarKeyword
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Lambda.cs (1)
286if (syntax is IdentifierNameSyntax { Identifier.RawContextualKind: (int)SyntaxKind.VarKeyword })
Parser\LanguageParser_Patterns.cs (1)
275if (typeIdentifierToken.ContextualKind == SyntaxKind.VarKeyword &&
Syntax\SyntaxFacts.cs (1)
445return node.ContextualKind == SyntaxKind.VarKeyword;
Syntax\SyntaxKindFacts.cs (3)
1218case SyntaxKind.VarKeyword: 1333return SyntaxKind.VarKeyword; 1779case SyntaxKind.VarKeyword:
Microsoft.CodeAnalysis.CSharp.Features (1)
GenerateMember\GenerateVariable\CSharpGenerateVariableService.cs (1)
57SyntaxKind.VarKeyword;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (20)
Generated\Syntax.Test.xml.Generated.cs (4)
284=> InternalSyntaxFactory.VarPattern(InternalSyntaxFactory.Token(SyntaxKind.VarKeyword), GenerateSingleVariableDesignation()); 1816Assert.Equal(SyntaxKind.VarKeyword, node.VarKeyword.Kind); 10500=> SyntaxFactory.VarPattern(SyntaxFactory.Token(SyntaxKind.VarKeyword), GenerateSingleVariableDesignation()); 12032Assert.Equal(SyntaxKind.VarKeyword, node.VarKeyword.Kind());
Parsing\DeconstructionTests.cs (2)
2771N(SyntaxKind.VarKeyword, "var"); 2902N(SyntaxKind.VarKeyword, "var");
Parsing\FunctionPointerTests.cs (3)
2627N(SyntaxKind.VarKeyword); 2639N(SyntaxKind.VarKeyword); 2741N(SyntaxKind.VarKeyword);
Parsing\PatternParsingTests.cs (5)
5433N(SyntaxKind.VarKeyword, "var"); 5726N(SyntaxKind.VarKeyword); 5761N(SyntaxKind.VarKeyword); 5985N(SyntaxKind.VarKeyword); 6058N(SyntaxKind.VarKeyword);
Parsing\PatternParsingTests_ListPatterns.cs (6)
327N(SyntaxKind.VarKeyword); 494N(SyntaxKind.VarKeyword); 727N(SyntaxKind.VarKeyword); 785N(SyntaxKind.VarKeyword); 821N(SyntaxKind.VarKeyword); 1049N(SyntaxKind.VarKeyword);