1 write to ConstantValue
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8737
this.
ConstantValue
= constantValue;
9 references to ConstantValue
Microsoft.CodeAnalysis.CSharp (9)
Binder\DecisionDagBuilder.cs (2)
1158
IConstantValueSet? values = fac?.Related(rel.Relation.Operator(), rel.
ConstantValue
);
1165
tests.Add(new Tests.One(new BoundDagRelationalTest(rel.Syntax, rel.Relation, rel.
ConstantValue
, output, rel.HasErrors)));
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
1022
return relationalPattern.Update(relationalPattern.Relation, relationalPattern.Value, relationalPattern.
ConstantValue
, isUnionMatching: false, inputType, relationalPattern.NarrowedType);
Binder\UnionMatchingRewriter.cs (1)
192
node.Update(node.Relation, node.Value, node.
ConstantValue
, isUnionMatching: false, inputType: ObjectType, narrowedType: node.NarrowedType));
BoundTree\BoundNode_Source.cs (1)
473
appendConstantValue(relationalPattern.
ConstantValue
);
Generated\BoundNodes.xml.Generated.cs (4)
8755
if (relation != this.Relation || value != this.Value || constantValue != this.
ConstantValue
|| isUnionMatching != this.IsUnionMatching || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
12639
return node.Update(node.Relation, value, node.
ConstantValue
, node.IsUnionMatching, inputType, narrowedType);
15324
return node.Update(node.Relation, value, node.
ConstantValue
, node.IsUnionMatching, inputType, narrowedType);
17599
new TreeDumperNode("constantValue", node.
ConstantValue
, null),