1 write to Value
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8153this.Value = value;
19 references to Value
Microsoft.CodeAnalysis.CSharp (19)
Binder\DecisionDagBuilder_CheckOrReachability.cs (1)
1087return constantPattern.Update(constantPattern.Value, constantPattern.ConstantValue, unionMatchingMode: UnionMatchingMode.None, inputType, narrowedType);
Binder\DecisionDagBuilder.cs (2)
904Debug.Assert(constant.Value.Type is not null || constant.HasErrors); 905if (constant.Value.Type is { } type)
Binder\UnionMatchingRewriter.cs (3)
96node.Update(node.Value, node.ConstantValue, unionMatchingMode: UnionMatchingMode.None, inputType: ObjectType, narrowedType: ObjectType)); 100left: node.Update(node.Value, node.ConstantValue, unionMatchingMode: UnionMatchingMode.None, node.InputType, node.InputType).MakeCompilerGenerated(), 109node.Update(node.Value, node.ConstantValue, unionMatchingMode: UnionMatchingMode.None, 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)
67VisitRvalue(node.Value); 171bool isExplicitNullCheck = cp.Value.ConstantValueOpt == ConstantValue.Null;
FlowAnalysis\VariablesDeclaredWalker.cs (1)
102VisitRvalue(constantPattern.Value);
Generated\BoundNodes.xml.Generated.cs (5)
8171if (value != this.Value || constantValue != this.ConstantValue || unionMatchingMode != this.UnionMatchingMode || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 10977this.Visit(node.Value); 12519BoundExpression value = (BoundExpression)this.Visit(node.Value); 15216BoundExpression value = (BoundExpression)this.Visit(node.Value); 17464new 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);