47 references to AndKeyword
Microsoft.CodeAnalysis.CSharp (9)
Parser\LanguageParser.cs (2)
6247case SyntaxKind.AndKeyword: 12455return this.CurrentToken.ContextualKind is SyntaxKind.OrKeyword or SyntaxKind.AndKeyword;
Parser\LanguageParser_Patterns.cs (2)
107while (this.CurrentToken.ContextualKind == SyntaxKind.AndKeyword) 392case SyntaxKind.AndKeyword:
Syntax\SyntaxKindFacts.cs (3)
1220case SyntaxKind.AndKeyword: 1335return SyntaxKind.AndKeyword; 1781case SyntaxKind.AndKeyword:
Syntax\SyntaxNormalizer.cs (2)
929case SyntaxKind.AndKeyword: 936case SyntaxKind.AndKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
341currentKind == SyntaxKind.AndKeyword || 345previousKind == SyntaxKind.AndKeyword ||
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
97Token(p.Token.LeadingTrivia, p.IsDisjunctive ? SyntaxKind.OrKeyword : SyntaxKind.AndKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
1431if (leftToken.IsKindOrHasMatchingText(SyntaxKind.AndKeyword) || leftToken.IsKindOrHasMatchingText(SyntaxKind.OrKeyword)) 1485or SyntaxKind.AndKeyword
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1489identifier.HasMatchingText(SyntaxKind.AndKeyword))
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\AndKeywordRecommender.cs (1)
13: base(SyntaxKind.AndKeyword)
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
97Token(p.Token.LeadingTrivia, p.IsDisjunctive ? SyntaxKind.OrKeyword : SyntaxKind.AndKeyword,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (25)
Parsing\NullableParsingTests.cs (4)
1976N(SyntaxKind.AndKeyword); 2019N(SyntaxKind.AndKeyword); 2180N(SyntaxKind.AndKeyword); 2349N(SyntaxKind.AndKeyword);
Parsing\PatternParsingTests.cs (19)
8356N(SyntaxKind.AndKeyword); 8572N(SyntaxKind.AndKeyword); 9861N(SyntaxKind.AndKeyword); 9882N(SyntaxKind.AndKeyword); 9971N(SyntaxKind.AndKeyword); 10067N(SyntaxKind.AndKeyword); 10122N(SyntaxKind.AndKeyword); 10852[CombinatorialValues(SyntaxKind.AndKeyword, SyntaxKind.OrKeyword)] SyntaxKind opKind, 10874N(opKind == SyntaxKind.AndKeyword ? SyntaxKind.AndPattern : SyntaxKind.OrPattern); 10969[CombinatorialValues(SyntaxKind.AndKeyword, SyntaxKind.OrKeyword)] SyntaxKind opKind, 10992N(opKind == SyntaxKind.AndKeyword ? SyntaxKind.AndPattern : SyntaxKind.OrPattern); 11020[CombinatorialValues(SyntaxKind.AndKeyword, SyntaxKind.OrKeyword)] SyntaxKind opKind, 11043N(opKind == SyntaxKind.AndKeyword ? SyntaxKind.AndPattern : SyntaxKind.OrPattern); 11278N(SyntaxKind.AndKeyword); 11332N(SyntaxKind.AndKeyword); 11503N(SyntaxKind.AndKeyword); 11529N(SyntaxKind.AndKeyword); 11643N(SyntaxKind.AndKeyword); 11652N(SyntaxKind.AndKeyword);
Parsing\PatternParsingTests2.cs (2)
1116N(SyntaxKind.AndKeyword); 1192N(SyntaxKind.AndKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
341currentKind == SyntaxKind.AndKeyword || 345previousKind == SyntaxKind.AndKeyword ||
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
1431if (leftToken.IsKindOrHasMatchingText(SyntaxKind.AndKeyword) || leftToken.IsKindOrHasMatchingText(SyntaxKind.OrKeyword)) 1485or SyntaxKind.AndKeyword
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1489identifier.HasMatchingText(SyntaxKind.AndKeyword))