1 write to UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8155this.UnionMatchingMode = unionMatchingMode;
11 references to UnionMatchingMode
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Operators.cs (1)
5015boundConstantPattern.UnionMatchingMode != UnionMatchingMode.None,
Binder\UnionMatchingRewriter.cs (3)
75if (node.UnionMatchingMode != UnionMatchingMode.None) 79Debug.Assert((node.UnionMatchingMode & UnionMatchingMode.UnionValue) != 0); 81if ((node.UnionMatchingMode & UnionMatchingMode.UnionInstance) != 0)
BoundTree\BoundConstantPattern.cs (3)
14Debug.Assert(UnionMatchingMode is UnionMatchingMode.None or UnionMatchingMode.UnionValue or (UnionMatchingMode.UnionValue | UnionMatchingMode.UnionInstance)); 16if (UnionMatchingMode != UnionMatchingMode.None) 29public override bool IsUnionMatching => UnionMatchingMode is not UnionMatchingMode.None;
Generated\BoundNodes.xml.Generated.cs (4)
8171if (value != this.Value || constantValue != this.ConstantValue || unionMatchingMode != this.UnionMatchingMode || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 12516return node.Update(value, node.ConstantValue, node.UnionMatchingMode, inputType, narrowedType); 15209return node.Update(value, node.ConstantValue, node.UnionMatchingMode, inputType, narrowedType); 17456new TreeDumperNode("unionMatchingMode", node.UnionMatchingMode, null),