5 references to IsSubjectForUnionMatching
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Patterns.cs (1)
1055Debug.Assert(unionMatchingInputType is null || unionMatchingInputType.IsSubjectForUnionMatching);
Binder\UnionMatchingRewriter.cs (2)
62Debug.Assert(unionMatchingInputType.IsSubjectForUnionMatching); 84Debug.Assert(node.InputType.IsSubjectForUnionMatching);
BoundTree\BoundPattern.cs (1)
36Debug.Assert(UnionMatchingMode == UnionMatchingMode.None || InputType is { IsSubjectForUnionMatching: true });
BoundTree\BoundPatternWithUnionMatching.cs (1)
14Debug.Assert(UnionMatchingInputType.IsSubjectForUnionMatching);