Base:
property
UnionMatchingMode
Microsoft.CodeAnalysis.CSharp.BoundPattern.UnionMatchingMode
1 write to UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8336this.UnionMatchingMode = unionMatchingMode;
7 references to UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (7)
Binder\UnionMatchingRewriter.cs (2)
118if (node.UnionMatchingMode != UnionMatchingMode.None) 122exclusiveInstancePattern: (node.UnionMatchingMode & UnionMatchingMode.UnionInstance) == 0 ? null :
BoundTree\BoundRecursivePattern.cs (1)
17Debug.Assert(UnionMatchingMode == UnionMatchingMode.None);
Generated\BoundNodes.xml.Generated.cs (4)
8355if (declaredType != this.DeclaredType || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || deconstruction != this.Deconstruction || properties != this.Properties || isExplicitNotNullTest != this.IsExplicitNotNullTest || 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)) 12561return node.Update(declaredType, deconstructMethod, deconstruction, properties, node.IsExplicitNotNullTest, node.UnionMatchingMode, variable, variableAccess, inputType, narrowedType); 15260return node.Update(declaredType, deconstructMethod, deconstruction, properties, node.IsExplicitNotNullTest, node.UnionMatchingMode, variable, variableAccess, inputType, narrowedType); 17511new TreeDumperNode("unionMatchingMode", node.UnionMatchingMode, null),