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