1 write to Disjunction
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8660
this.
Disjunction
= disjunction;
26 references to Disjunction
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder_Patterns.cs (2)
2338
while (pat is BoundBinaryPattern {
Disjunction
: true } p)
2369
if (pat is BoundBinaryPattern {
Disjunction
: false } p)
Binder\DecisionDagBuilder.cs (1)
1109
if (bin.
Disjunction
)
Binder\DecisionDagBuilder_CheckOrReachability.cs (10)
444
if (binaryPattern.
Disjunction
)
477
while (current != null && !current.
Disjunction
);
550
if (pattern is BoundBinaryPattern {
Disjunction
: true } orPattern)
560
while (current != null && current.
Disjunction
);
564
Debug.Assert(current.Left is not BoundBinaryPattern {
Disjunction
: true });
829
bool disjunction = node.
Disjunction
;
844
while (current != null && current.
Disjunction
== node.
Disjunction
);
850
Debug.Assert(!(current.Left is BoundBinaryPattern binary && binary.
Disjunction
== node.
Disjunction
));
Binder\UnionMatchingRewriter.cs (1)
294
if (node.
Disjunction
)
BoundTree\BoundBinaryPattern.cs (1)
17
if (
Disjunction
)
BoundTree\BoundNode_Source.cs (1)
353
append(binaryPattern.
Disjunction
? " or " : " and ");
BoundTree\BoundTreeRewriter.cs (1)
375
left = binary.Update(binary.
Disjunction
, left, right, VisitType(binary.InputType), VisitType(binary.NarrowedType));
BoundTree\NullabilityRewriter.cs (1)
163
currentBinary = currentBinary.Update(currentBinary.
Disjunction
, leftChild, right, inputType, narrowedType);
FlowAnalysis\AbstractFlowPass.cs (2)
1052
if (currentBinary.
Disjunction
)
1093
if (currentBinary.
Disjunction
)
FlowAnalysis\DefiniteAssignment.cs (2)
2055
bool def = definitely && !pat.
Disjunction
;
2066
definitely = definitely && !pat.
Disjunction
;
Generated\BoundNodes.xml.Generated.cs (3)
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))
12625
return node.Update(node.
Disjunction
, left, right, inputType, narrowedType);
17578
new TreeDumperNode("disjunction", node.
Disjunction
, null),
Operations\CSharpOperationFactory.cs (1)
2739
boundBinaryPattern.
Disjunction
? BinaryOperatorKind.Or : BinaryOperatorKind.And,