40 references to AndKeyword
Microsoft.CodeAnalysis.CSharp (8)
Parser\LanguageParser.cs (1)
11634return this.CurrentToken.ContextualKind is SyntaxKind.OrKeyword or SyntaxKind.AndKeyword;
Parser\LanguageParser_Patterns.cs (2)
107while (this.CurrentToken.ContextualKind == SyntaxKind.AndKeyword) 388case SyntaxKind.AndKeyword:
Syntax\SyntaxKindFacts.cs (3)
1187case SyntaxKind.AndKeyword: 1301return SyntaxKind.AndKeyword; 1745case SyntaxKind.AndKeyword:
Syntax\SyntaxNormalizer.cs (2)
929case SyntaxKind.AndKeyword: 936case SyntaxKind.AndKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
SpacingFormattingRule.cs (2)
341currentKind == SyntaxKind.AndKeyword || 345previousKind == SyntaxKind.AndKeyword ||
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
CSharpTypeInferenceService.TypeInferrer.cs (1)
1531identifier.HasMatchingText(SyntaxKind.AndKeyword))
CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
103Token(p.Token.LeadingTrivia, p.IsDisjunctive ? SyntaxKind.OrKeyword : SyntaxKind.AndKeyword,
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (2)
1417if (leftToken.IsKindOrHasMatchingText(SyntaxKind.AndKeyword) || leftToken.IsKindOrHasMatchingText(SyntaxKind.OrKeyword)) 1469or SyntaxKind.AndKeyword
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\AndKeywordRecommender.cs (1)
13: base(SyntaxKind.AndKeyword)
CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
103Token(p.Token.LeadingTrivia, p.IsDisjunctive ? SyntaxKind.OrKeyword : SyntaxKind.AndKeyword,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (19)
Parsing\PatternParsingTests.cs (19)
8395N(SyntaxKind.AndKeyword); 8611N(SyntaxKind.AndKeyword); 9900N(SyntaxKind.AndKeyword); 9921N(SyntaxKind.AndKeyword); 10010N(SyntaxKind.AndKeyword); 10106N(SyntaxKind.AndKeyword); 10161N(SyntaxKind.AndKeyword); 10891[CombinatorialValues(SyntaxKind.AndKeyword, SyntaxKind.OrKeyword)] SyntaxKind opKind, 10913N(opKind == SyntaxKind.AndKeyword ? SyntaxKind.AndPattern : SyntaxKind.OrPattern); 11008[CombinatorialValues(SyntaxKind.AndKeyword, SyntaxKind.OrKeyword)] SyntaxKind opKind, 11031N(opKind == SyntaxKind.AndKeyword ? SyntaxKind.AndPattern : SyntaxKind.OrPattern); 11059[CombinatorialValues(SyntaxKind.AndKeyword, SyntaxKind.OrKeyword)] SyntaxKind opKind, 11082N(opKind == SyntaxKind.AndKeyword ? SyntaxKind.AndPattern : SyntaxKind.OrPattern); 11317N(SyntaxKind.AndKeyword); 11371N(SyntaxKind.AndKeyword); 11542N(SyntaxKind.AndKeyword); 11568N(SyntaxKind.AndKeyword); 11682N(SyntaxKind.AndKeyword); 11691N(SyntaxKind.AndKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
CSharpTypeInferenceService.TypeInferrer.cs (1)
1531identifier.HasMatchingText(SyntaxKind.AndKeyword))
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (2)
1417if (leftToken.IsKindOrHasMatchingText(SyntaxKind.AndKeyword) || leftToken.IsKindOrHasMatchingText(SyntaxKind.OrKeyword)) 1469or SyntaxKind.AndKeyword
SpacingFormattingRule.cs (2)
341currentKind == SyntaxKind.AndKeyword || 345previousKind == SyntaxKind.AndKeyword ||