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