1 instantiation of Binary
Microsoft.CodeAnalysis.CSharp.Features (1)
AnalyzedPattern.cs (1)
167return new Binary(leftPattern, rightPattern, isDisjunctive, token, target);
6 references to Binary
Microsoft.CodeAnalysis.CSharp.Features (6)
AnalyzedPattern.cs (2)
200Binary { Left: Not left, Right: Not right } p // Apply demorgans's law 201=> Binary.TryCreate(left.Pattern, right.Pattern, !p.IsDisjunctive, p.Token),
CSharpUsePatternCombinatorsAnalyzer.cs (1)
85return Binary.TryCreate(leftPattern, rightPattern, isDisjunctive, token);
CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
100Binary p => BinaryPattern(
CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (2)
113case Binary p: 146Binary _ => false,