1 instantiation of BoundBinaryPattern
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8453var result = new BoundBinaryPattern(this.Syntax, disjunction, left, right, inputType, narrowedType, this.HasErrors);
64 references to BoundBinaryPattern
Microsoft.CodeAnalysis.CSharp (64)
Binder\Binder_Patterns.cs (3)
80case BoundBinaryPattern _: 115case BoundBinaryPattern _: 1865if (pat is BoundBinaryPattern { Disjunction: true } p)
Binder\DecisionDagBuilder.cs (6)
311case BoundBinaryPattern bin: 644BoundBinaryPattern bin, 650var binaryPatternStack = ArrayBuilder<BoundBinaryPattern>.GetInstance(); 651var currentNode = bin; 656currentNode = currentNode.Left as BoundBinaryPattern; 671static Tests makeTestsAndBindingsForBinaryPattern(DecisionDagBuilder @this, Tests leftTests, BoundDagTemp leftOutput, BoundDagTemp input, BoundBinaryPattern bin, out BoundDagTemp output, ArrayBuilder<BoundPatternBinding> bindings)
BoundTree\BoundTreeRewriter.cs (5)
198public sealed override BoundNode? VisitBinaryPattern(BoundBinaryPattern node) 207var stack = ArrayBuilder<BoundBinaryPattern>.GetInstance(); 210BoundBinaryPattern binary = (BoundBinaryPattern)child; 222binary = (BoundBinaryPattern)child;
BoundTree\BoundTreeWalker.cs (3)
145public sealed override BoundNode? VisitBinaryPattern(BoundBinaryPattern node) 147if (node.Left is not BoundBinaryPattern binary) 161binary = (BoundBinaryPattern)current;
Compilation\MemberSemanticModel.NodeMapBuilder.cs (3)
223else if (current is BoundBinaryPattern binaryPattern) 229binaryPattern = currentPattern as BoundBinaryPattern; 240binaryPattern = currentPattern as BoundBinaryPattern;
FlowAnalysis\AbstractFlowPass.cs (10)
928BoundDeclarationPattern or BoundConstantPattern or BoundNegatedPattern or BoundBinaryPattern or 997case BoundBinaryPattern binary: 999Debug.Assert(binaryPatterns.Peek().Left is not BoundBinaryPattern); 1038case BoundBinaryPattern binary: 1040Debug.Assert(binaryPatterns.Peek().Left is not BoundBinaryPattern); 1080static ArrayBuilder<BoundBinaryPattern> getBinaryPatterns(BoundBinaryPattern binaryPattern) 1084var stack = ArrayBuilder<BoundBinaryPattern>.GetInstance(); 1089if (binaryPattern.Left is BoundBinaryPattern leftBinaryPattern) 1114public override BoundNode VisitBinaryPattern(BoundBinaryPattern node)
FlowAnalysis\DefiniteAssignment.cs (5)
2086var pat = (BoundBinaryPattern)pattern; 2088if (pat.Left is not BoundBinaryPattern) 2097var stack = ArrayBuilder<(BoundBinaryPattern pattern, bool def)>.GetInstance(); 2103pat = pat.Left as BoundBinaryPattern;
FlowAnalysis\NullableWalker.DebugVerifier.cs (2)
320public override BoundNode? VisitBinaryPattern(BoundBinaryPattern node) 327if (node.Left is not BoundBinaryPattern child)
FlowAnalysis\NullableWalker_Patterns.cs (8)
112public override BoundNode VisitBinaryPattern(BoundBinaryPattern node) 116var stack = ArrayBuilder<BoundBinaryPattern>.GetInstance(); 117BoundBinaryPattern current = node; 121current = current.Left as BoundBinaryPattern; 129Debug.Assert(current.Left is not BoundBinaryPattern); 223case BoundBinaryPattern p: 225var current = p; 231if (current.Left is BoundBinaryPattern left)
Generated\BoundNodes.xml.Generated.cs (9)
8449public BoundBinaryPattern Update(bool disjunction, BoundPattern left, BoundPattern right, TypeSymbol inputType, TypeSymbol narrowedType) 8453var result = new BoundBinaryPattern(this.Syntax, disjunction, left, right, inputType, narrowedType, this.HasErrors); 9274return VisitBinaryPattern((BoundBinaryPattern)node, arg); 9525public virtual R VisitBinaryPattern(BoundBinaryPattern node, A arg) => this.DefaultVisit(node, arg); 9761public virtual BoundNode? VisitBinaryPattern(BoundBinaryPattern node) => this.DefaultVisit(node); 10739public override BoundNode? VisitBinaryPattern(BoundBinaryPattern node) 12138public override BoundNode? VisitBinaryPattern(BoundBinaryPattern node) 14806public override BoundNode? VisitBinaryPattern(BoundBinaryPattern node) 17017public override TreeDumperNode VisitBinaryPattern(BoundBinaryPattern node, object? arg) => new TreeDumperNode("binaryPattern", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (3)
679public override BoundNode VisitBinaryPattern(BoundBinaryPattern node) 683BoundBinaryPattern current = node; 687if (current.Left is BoundBinaryPattern left)
Operations\CSharpOperationFactory.cs (7)
235return CreateBoundBinaryPatternOperation((BoundBinaryPattern)boundNode); 2643private IOperation CreateBoundBinaryPatternOperation(BoundBinaryPattern boundBinaryPattern) 2645if (boundBinaryPattern.Left is not BoundBinaryPattern) 2651var stack = ArrayBuilder<BoundBinaryPattern>.GetInstance(); 2652BoundBinaryPattern? current = boundBinaryPattern; 2657current = current.Left as BoundBinaryPattern; 2670static BinaryPatternOperation createOperation(CSharpOperationFactory @this, BoundBinaryPattern boundBinaryPattern, IPatternOperation left)