1 write to Value
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8172
this.
Value
= value;
19 references to Value
Microsoft.CodeAnalysis.CSharp (19)
Binder\DecisionDagBuilder.cs (2)
893
Debug.Assert(constant.
Value
.Type is not null || constant.HasErrors);
894
if (constant.
Value
.Type is { } type)
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
1017
return constantPattern.Update(constantPattern.
Value
, constantPattern.ConstantValue, isUnionMatching: false, inputType, narrowedType);
Binder\UnionMatchingRewriter.cs (3)
87
node.Update(node.
Value
, node.ConstantValue, isUnionMatching: false, inputType: ObjectType, narrowedType: ObjectType));
91
left: node.Update(node.
Value
, node.ConstantValue, isUnionMatching: false, node.InputType, node.InputType),
100
node.Update(node.
Value
, node.ConstantValue, isUnionMatching: false, inputType: ObjectType, narrowedType: node.NarrowedType));
BoundTree\BoundConstantPattern.cs (2)
17
NarrowedType.Equals(
Value
.Type, TypeCompareKind.AllIgnoreOptions) ||
23
NarrowedType.Equals(
Value
.Type, TypeCompareKind.AllIgnoreOptions));
FlowAnalysis\DefiniteAssignment.cs (1)
1980
this.VisitRvalue(pat.
Value
);
FlowAnalysis\NullableWalker_Patterns.cs (2)
65
VisitRvalue(node.
Value
);
167
bool isExplicitNullCheck = cp.
Value
.ConstantValueOpt == ConstantValue.Null;
FlowAnalysis\VariablesDeclaredWalker.cs (1)
102
VisitRvalue(constantPattern.
Value
);
Generated\BoundNodes.xml.Generated.cs (5)
8190
if (value != this.
Value
|| constantValue != this.ConstantValue || isUnionMatching != this.IsUnionMatching || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
10982
this.Visit(node.
Value
);
12519
BoundExpression value = (BoundExpression)this.Visit(node.
Value
);
15209
BoundExpression value = (BoundExpression)this.Visit(node.
Value
);
17452
new TreeDumperNode("value", null, new TreeDumperNode[] { Visit(node.
Value
, null) }),
Operations\CSharpOperationFactory.cs (2)
2583
IOperation value = Create(boundConstantPattern.
Value
);
2827
return new SingleValueCaseClauseOperation(Create(cp.
Value
), label.GetPublicSymbol(), _semanticModel, syntax, isImplicit);