8 references to UnionInstance
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Patterns.cs (2)
23
Both =
UnionInstance
| UnionValue,
2451
unionMatchingMode |= UnionMatchingMode.
UnionInstance
;
Binder\UnionMatchingRewriter.cs (4)
87
if ((node.UnionMatchingMode & UnionMatchingMode.
UnionInstance
) != 0)
122
exclusiveInstancePattern: (node.UnionMatchingMode & UnionMatchingMode.
UnionInstance
) == 0 ? null :
156
exclusiveInstancePattern: (node.UnionMatchingMode & UnionMatchingMode.
UnionInstance
) == 0 ? null :
175
exclusiveInstancePattern: (node.UnionMatchingMode & UnionMatchingMode.
UnionInstance
) == 0 ? null :
BoundTree\BoundPattern.cs (1)
35
Debug.Assert(UnionMatchingMode != UnionMatchingMode.
UnionInstance
);
BoundTree\BoundRelationalPattern.cs (1)
16
Debug.Assert((UnionMatchingMode & UnionMatchingMode.
UnionInstance
) == 0);