5 overrides of UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (5)
Generated\BoundNodes.xml.Generated.cs (5)
8164public override UnionMatchingMode UnionMatchingMode { get; } 8305public override UnionMatchingMode UnionMatchingMode { get; } 8348public override UnionMatchingMode UnionMatchingMode { get; } 8617public override UnionMatchingMode UnionMatchingMode { get; } 8731public override UnionMatchingMode UnionMatchingMode { get; }
11 references to UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Patterns.cs (1)
2376if (pat is { UnionMatchingMode: not UnionMatchingMode.None })
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
868Debug.Assert(node is not BoundPattern { UnionMatchingMode: not UnionMatchingMode.None });
Binder\DecisionDagBuilder.cs (1)
372Debug.Assert(pattern.UnionMatchingMode == UnionMatchingMode.None);
Binder\UnionMatchingRewriter.cs (2)
145Debug.Assert(node.UnionMatchingMode == UnionMatchingMode.None); 199Debug.Assert(node.UnionMatchingMode == UnionMatchingMode.None);
BoundTree\BoundITuplePattern.cs (1)
14Debug.Assert(UnionMatchingMode == UnionMatchingMode.None);
BoundTree\BoundListPattern.cs (1)
25Debug.Assert(UnionMatchingMode == UnionMatchingMode.None);
BoundTree\BoundNegatedPattern.cs (1)
17Debug.Assert(UnionMatchingMode == UnionMatchingMode.None);
BoundTree\BoundPattern.cs (3)
24Debug.Assert(negatedPattern.UnionMatchingMode == UnionMatchingMode.None); 35Debug.Assert(UnionMatchingMode != UnionMatchingMode.UnionInstance); 36Debug.Assert(UnionMatchingMode == UnionMatchingMode.None || InputType is { IsSubjectForUnionMatching: true });