Base:
property
UnionMatchingMode
Microsoft.CodeAnalysis.CSharp.BoundPattern.UnionMatchingMode
1 write to UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8608
this.
UnionMatchingMode
= unionMatchingMode;
8 references to UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Operators.cs (1)
4860
if (typePattern.
UnionMatchingMode
!= UnionMatchingMode.None)
Binder\UnionMatchingRewriter.cs (3)
169
if (node.
UnionMatchingMode
!= UnionMatchingMode.None)
171
Debug.Assert((node.
UnionMatchingMode
& UnionMatchingMode.UnionValue) != 0);
175
exclusiveInstancePattern: (node.
UnionMatchingMode
& UnionMatchingMode.UnionInstance) == 0 ? null :
Generated\BoundNodes.xml.Generated.cs (4)
8624
if (declaredType != this.DeclaredType || isExplicitNotNullTest != this.IsExplicitNotNullTest || unionMatchingMode != this.
UnionMatchingMode
|| !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
12619
return node.Update(declaredType, node.IsExplicitNotNullTest, node.
UnionMatchingMode
, inputType, narrowedType);
15317
return node.Update(declaredType, node.IsExplicitNotNullTest, node.
UnionMatchingMode
, inputType, narrowedType);
17582
new TreeDumperNode("unionMatchingMode", node.
UnionMatchingMode
, null),