1 write to Value
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5381
this.
Value
= value;
27 references to Value
Microsoft.CodeAnalysis.CSharp (27)
Binder\DecisionDagBuilder.cs (13)
1745
return resultForRelation(BinaryOperatorKind.Equal, t.
Value
);
2015
handleRelationWithValue(BinaryOperatorKind.Equal, v2.
Value
,
2323
Debug.Assert((hasValueTest.
Value
== ConstantValue.True || hasValueTest.
Value
== ConstantValue.False));
2324
if (hasValueTest.
Value
== ConstantValue.True || hasValueTest.
Value
== ConstantValue.False)
2326
sense = hasValueTest.
Value
== ConstantValue.True;
2341
bool isTrue = tryGetValueTest.
Value
== ConstantValue.True;
2874
return $"?{d.Kind}({tempName(d.Input)} == {v.
Value
})";
3480
case BoundDagValueTest t when !t.
Value
.IsBad:
3481
Debug.Assert(t.
Value
.Discriminator == ConstantValueTypeDiscriminator.Int32);
3482
return knownResult(BinaryOperatorKind.Equal, t.
Value
, offset) ??
3483
new One(new BoundDagValueTest(t.Syntax, safeAdd(t.
Value
, offset), lengthTemp));
Binder\PatternExplainer.cs (1)
736
addRelation(BinaryOperatorKind.Equal, v.
Value
);
BoundTree\BoundDagTest.cs (4)
38
return x.
Value
.Equals(y.
Value
);
116
return $"{v.Input.GetDebuggerDisplay()} == {v.
Value
.GetValueToDisplay()}";
143
return Update(
Value
, input);
BoundTree\BoundDecisionDag.cs (1)
189
return d.
Value
== inputConstant;
FlowAnalysis\NullableWalker_Patterns.cs (2)
578
Debug.Assert(t.
Value
!= ConstantValue.Null);
594
bool isFalseTest = t.
Value
== ConstantValue.False;
Generated\BoundNodes.xml.Generated.cs (3)
5391
if (value != this.
Value
|| input != this.Input)
12008
return node.Update(node.
Value
, input);
16694
new TreeDumperNode("value", node.
Value
, null),
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (2)
590
cases.Add((value: value.
Value
, label: GetDagNodeLabel(testNode.WhenTrue)));
598
cases.Add((value: vd.
Value
, label: GetDagNodeLabel(p.WhenTrue)));
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
384
return MakeValueTest(d.Syntax, input, d.
Value
);