5 overrides of UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (5)
Generated\BoundNodes.xml.Generated.cs (5)
8163public override UnionMatchingMode UnionMatchingMode { get; } 8304public override UnionMatchingMode UnionMatchingMode { get; } 8347public override UnionMatchingMode UnionMatchingMode { get; } 8616public override UnionMatchingMode UnionMatchingMode { get; } 8730public override UnionMatchingMode UnionMatchingMode { get; }
11 references to UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Patterns.cs (1)
2862if (pat is { UnionMatchingMode: not UnionMatchingMode.None })
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
798Debug.Assert(node is not BoundPattern { UnionMatchingMode: not UnionMatchingMode.None });
Binder\DecisionDagBuilder.cs (1)
364Debug.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 });