6 references to Binary
Microsoft.CodeAnalysis.CSharp.Features (6)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (2)
190Binary { 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)
85return Binary.TryCreate(leftPattern, rightPattern, isDisjunctive, token);
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (2)
115case Binary p: 148Binary => false,
src\Analyzers\CSharp\CodeFixes\UsePatternCombinators\CSharpUsePatternCombinatorsCodeFixProvider.cs (1)
94Binary p => BinaryPattern(