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