6 references to Binary
Microsoft.CodeAnalysis.CSharp.Features (6)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (2)
190
Binary
{ Left: Not left, Right: Not right } p // Apply demorgans's law
191
=>
Binary
.TryCreate(left.Pattern, right.Pattern, !p.IsDisjunctive, p.Token),
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (1)
85
return
Binary
.TryCreate(leftPattern, rightPattern, isDisjunctive, token);
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (2)
115
case
Binary
p:
148
Binary
=> false,
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
94
Binary
p => BinaryPattern(