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