1 write to Value
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5320this.Value = value;
20 references to Value
Microsoft.CodeAnalysis.CSharp (20)
Binder\DecisionDagBuilder.cs (7)
1141return resultForRelation(BinaryOperatorKind.Equal, t.Value); 1353handleRelationWithValue(BinaryOperatorKind.Equal, v2.Value, 1751return $"?{d.Kind}({tempName(d.Input)} == {v.Value})"; 2238case BoundDagValueTest t when !t.Value.IsBad: 2239Debug.Assert(t.Value.Discriminator == ConstantValueTypeDiscriminator.Int32); 2240return knownResult(BinaryOperatorKind.Equal, t.Value, offset) ?? 2241new One(new BoundDagValueTest(t.Syntax, safeAdd(t.Value, offset), lengthTemp));
Binder\PatternExplainer.cs (1)
605addRelation(BinaryOperatorKind.Equal, v.Value);
BoundTree\BoundDagTest.cs (3)
36return x.Value.Equals(y.Value); 86return $"{v.Input.GetDebuggerDisplay()} == {v.Value.GetValueToDisplay()}";
BoundTree\BoundDecisionDag.cs (1)
189return d.Value == inputConstant;
FlowAnalysis\NullableWalker_Patterns.cs (2)
631Debug.Assert(t.Value != ConstantValue.Null); 647bool isFalseTest = t.Value == ConstantValue.False;
Generated\BoundNodes.xml.Generated.cs (3)
5330if (value != this.Value || input != this.Input) 11595return node.Update(node.Value, input); 16169new TreeDumperNode("value", node.Value, null),
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (2)
590cases.Add((value: value.Value, label: GetDagNodeLabel(testNode.WhenTrue))); 598cases.Add((value: vd.Value, label: GetDagNodeLabel(p.WhenTrue)));
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
355return MakeValueTest(d.Syntax, input, d.Value);