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