Base:
property
UnionMatchingMode
Microsoft.CodeAnalysis.CSharp.BoundPattern.UnionMatchingMode
1 write to UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8296
this.
UnionMatchingMode
= unionMatchingMode;
6 references to UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (6)
Binder\UnionMatchingRewriter.cs (2)
152
if (node.
UnionMatchingMode
!= UnionMatchingMode.None)
156
exclusiveInstancePattern: (node.
UnionMatchingMode
& UnionMatchingMode.UnionInstance) == 0 ? null :
Generated\BoundNodes.xml.Generated.cs (4)
8312
if (declaredType != this.DeclaredType || isVar != this.IsVar || unionMatchingMode != this.
UnionMatchingMode
|| !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
12549
return node.Update(declaredType, node.IsVar, node.
UnionMatchingMode
, variable, variableAccess, inputType, narrowedType);
15247
return node.Update(declaredType, node.IsVar, node.
UnionMatchingMode
, variable, variableAccess, inputType, narrowedType);
17496
new TreeDumperNode("unionMatchingMode", node.
UnionMatchingMode
, null),