5 references to IsSubjectForUnionMatching
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Patterns.cs (1)
700
Debug.Assert(unionMatchingInputType is null || unionMatchingInputType.
IsSubjectForUnionMatching
);
Binder\UnionMatchingRewriter.cs (2)
59
Debug.Assert(unionMatchingInputType.
IsSubjectForUnionMatching
);
79
Debug.Assert(node.InputType.
IsSubjectForUnionMatching
);
BoundTree\BoundPattern.cs (1)
46
Debug.Assert(!IsUnionMatching || InputType is {
IsSubjectForUnionMatching
: true });
BoundTree\BoundPatternWithUnionMatching.cs (1)
14
Debug.Assert(UnionMatchingInputType.
IsSubjectForUnionMatching
);