1 write to Left
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8661this.Left = left;
58 references to Left
Microsoft.CodeAnalysis.CSharp (58)
Binder\Binder_Patterns.cs (2)
2341pat = p.Left; 2372pat = p.Left;
Binder\DecisionDagBuilder.cs (2)
1091currentNode = currentNode.Left as BoundBinaryPattern; 1095Tests result = MakeTestsAndBindings(inputInfo, currentNode.Left, out outputInfo, bindings);
Binder\DecisionDagBuilder_CheckOrReachability.cs (9)
475current = current.Left as BoundBinaryPattern; 481analyzePattern(currentCases, current.Left, wrapIntoParentAndPattern, in context); 488var wrappedPattern = new BoundBinaryPattern(newPattern.Syntax, disjunction: false, current.Left, newPattern, current.InputType, newPattern.NarrowedType); 558current = current.Left as BoundBinaryPattern; 564Debug.Assert(current.Left is not BoundBinaryPattern { Disjunction: true }); 565builder.Add(current.Left); 842current = current.Left as BoundBinaryPattern; 850Debug.Assert(!(current.Left is BoundBinaryPattern binary && binary.Disjunction == node.Disjunction)); 853Visit(current.Left);
Binder\UnionMatchingRewriter.cs (2)
247currentNode = currentNode.Left as BoundBinaryPattern; 253BoundPattern result = (BoundPattern)Visit(binaryPattern.Left);
BoundTree\BoundBinaryPattern.cs (3)
13Debug.Assert(Left.InputType.Equals(InputType, TypeCompareKind.AllIgnoreOptions)); 14Debug.Assert(Left is not BoundPatternWithUnionMatching); 25Debug.Assert(Right.InputType.Equals(Left.NarrowedType, TypeCompareKind.AllIgnoreOptions));
BoundTree\BoundNode_Source.cs (1)
352appendSource(binaryPattern.Left);
BoundTree\BoundTreeRewriter.cs (2)
342BoundPattern child = node.Left; 357child = binary.Left;
BoundTree\BoundTreeWalker.cs (3)
147if (node.Left is not BoundBinaryPattern binary) 157BoundPattern? current = binary.Left; 163current = binary.Left;
BoundTree\NullabilityRewriter.cs (2)
147currentBinary = currentBinary.Left as BoundBinaryPattern; 152var leftChild = (BoundPattern)Visit(stack.Peek().Left);
Compilation\MemberSemanticModel.NodeMapBuilder.cs (2)
228BoundPattern currentPattern = binaryPattern.Left; 239currentPattern = binaryPattern.Left;
FlowAnalysis\AbstractFlowPass.cs (5)
1047Debug.Assert(binaryPatterns.Peek().Left is not BoundBinaryPattern); 1048bool currentPatternMatchesNull = patternMatchesNull(binaryPatterns.Peek().Left); 1088Debug.Assert(binaryPatterns.Peek().Left is not BoundBinaryPattern); 1089bool? currentBoolTest = isBoolTest(binaryPatterns.Peek().Left); 1137if (binaryPattern.Left is BoundBinaryPattern leftBinaryPattern)
FlowAnalysis\DefiniteAssignment.cs (4)
2053if (pat.Left is not BoundBinaryPattern) 2056assignPatternVariablesAndMarkReadFields(pat.Left, def); 2068pat = pat.Left as BoundBinaryPattern; 2072assignPatternVariablesAndMarkReadFields(patAndDef.pattern.Left, patAndDef.def);
FlowAnalysis\NullableWalker.DebugVerifier.cs (2)
340if (node.Left is not BoundBinaryPattern child) 342Visit(node.Left);
FlowAnalysis\NullableWalker_Patterns.cs (5)
121current = current.Left as BoundBinaryPattern; 129Debug.Assert(current.Left is not BoundBinaryPattern); 130Visit(current.Left); 231if (current.Left is BoundBinaryPattern left) 238LearnFromAnyNullPatterns(inputSlot, inputType, current.Left);
FlowAnalysis\VariablesDeclaredWalker.cs (4)
127if (binaryPattern.Left is not BoundBinaryPattern) 129NoteDeclaredPatternVariables(binaryPattern.Left); 144binaryPattern = binaryPattern.Left as BoundBinaryPattern; 148NoteDeclaredPatternVariables(binaryPattern.Left);
Generated\BoundNodes.xml.Generated.cs (4)
8678if (disjunction != this.Disjunction || left != this.Left || right != this.Right || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 11046this.Visit(node.Left); 12621BoundPattern left = (BoundPattern)this.Visit(node.Left); 17579new TreeDumperNode("left", null, new TreeDumperNode[] { Visit(node.Left, null) }),
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
733if (current.Left is BoundBinaryPattern left) 739Visit(current.Left);
Operations\CSharpOperationFactory.cs (4)
2711if (boundBinaryPattern.Left is not BoundBinaryPattern) 2713return createOperation(this, boundBinaryPattern, left: (IPatternOperation)Create(boundBinaryPattern.Left)); 2723current = current.Left as BoundBinaryPattern; 2727var result = (IPatternOperation)Create(current.Left);