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)
1770return resultForRelation(BinaryOperatorKind.Equal, t.Value); 2052handleRelationWithValue(BinaryOperatorKind.Equal, v2.Value, 2370Debug.Assert((hasValueTest.Value == ConstantValue.True || hasValueTest.Value == ConstantValue.False)); 2371if (hasValueTest.Value == ConstantValue.True || hasValueTest.Value == ConstantValue.False) 2373sense = hasValueTest.Value == ConstantValue.True; 2388bool isTrue = tryGetValueTest.Value == ConstantValue.True; 2921return $"?{d.Kind}({tempName(d.Input)} == {v.Value})"; 3527case BoundDagValueTest t when !t.Value.IsBad: 3528Debug.Assert(t.Value.Discriminator == ConstantValueTypeDiscriminator.Int32); 3529return knownResult(BinaryOperatorKind.Equal, t.Value, offset) ?? 3530new One(new BoundDagValueTest(t.Syntax, safeAdd(t.Value, offset), lengthTemp));
Binder\PatternExplainer.cs (1)
744addRelation(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)
580Debug.Assert(t.Value != ConstantValue.Null); 596bool isFalseTest = t.Value == ConstantValue.False;
Generated\BoundNodes.xml.Generated.cs (3)
5391if (value != this.Value || input != this.Input) 12006return node.Update(node.Value, input); 16692new 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);