5 overrides of IsUnionMatching
Microsoft.CodeAnalysis.CSharp (5)
BoundTree\BoundConstantPattern.cs (1)
29
public override bool
IsUnionMatching
=> UnionMatchingMode is not UnionMatchingMode.None;
Generated\BoundNodes.xml.Generated.cs (4)
8301
public override bool
IsUnionMatching
{ get; }
8344
public override bool
IsUnionMatching
{ get; }
8613
public override bool
IsUnionMatching
{ get; }
8727
public override bool
IsUnionMatching
{ get; }
10 references to IsUnionMatching
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Patterns.cs (1)
2270
if (pat is {
IsUnionMatching
: true })
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
868
Debug.Assert(node is not BoundPattern {
IsUnionMatching
: true });
Binder\DecisionDagBuilder.cs (1)
372
Debug.Assert(!pattern.
IsUnionMatching
);
Binder\UnionMatchingRewriter.cs (2)
136
Debug.Assert(!node.
IsUnionMatching
);
182
Debug.Assert(!node.
IsUnionMatching
);
BoundTree\BoundITuplePattern.cs (1)
14
Debug.Assert(!
IsUnionMatching
);
BoundTree\BoundListPattern.cs (1)
25
Debug.Assert(!
IsUnionMatching
);
BoundTree\BoundNegatedPattern.cs (1)
17
Debug.Assert(!
IsUnionMatching
);
BoundTree\BoundPattern.cs (2)
24
Debug.Assert(!negatedPattern.
IsUnionMatching
);
35
Debug.Assert(!
IsUnionMatching
|| InputType is { IsSubjectForUnionMatching: true });