Base:
property
UnionMatchingMode
Microsoft.CodeAnalysis.CSharp.BoundPattern.UnionMatchingMode
1 write to UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8296this.UnionMatchingMode = unionMatchingMode;
6 references to UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (6)
Binder\UnionMatchingRewriter.cs (2)
152if (node.UnionMatchingMode != UnionMatchingMode.None) 156exclusiveInstancePattern: (node.UnionMatchingMode & UnionMatchingMode.UnionInstance) == 0 ? null :
Generated\BoundNodes.xml.Generated.cs (4)
8312if (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)) 12549return node.Update(declaredType, node.IsVar, node.UnionMatchingMode, variable, variableAccess, inputType, narrowedType); 15247return node.Update(declaredType, node.IsVar, node.UnionMatchingMode, variable, variableAccess, inputType, narrowedType); 17496new TreeDumperNode("unionMatchingMode", node.UnionMatchingMode, null),