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