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