Base:
property
ConstantValueOpt
Microsoft.CodeAnalysis.CSharp.BoundExpression.ConstantValueOpt
1 write to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7783this.ConstantValueOpt = constantValueOpt;
18 references to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_InterpolatedString.cs (5)
242if (unconvertedInterpolatedString.ConstantValueOpt is not null) 271unconvertedInterpolatedString.ConstantValueOpt, 366unconvertedSource.ConstantValueOpt, 535expression.ConstantValueOpt, 596unconvertedInterpolatedString.ConstantValueOpt,
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
2915node is BoundUnconvertedInterpolatedString { ConstantValueOpt: null } or BoundBinaryOperator { IsUnconvertedInterpolatedStringAddition: true, ConstantValueOpt: null })
Generated\BoundNodes.xml.Generated.cs (10)
7806if (parts != this.Parts || constantValueOpt != this.ConstantValueOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 7834if (!interpolationData.Equals(this.InterpolationData) || parts != this.Parts || constantValueOpt != this.ConstantValueOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 12019return node.Update(parts, node.ConstantValueOpt, type); 12025return node.Update(node.InterpolationData, parts, node.ConstantValueOpt, type); 14621updatedNode = node.Update(parts, node.ConstantValueOpt, infoAndType.Type); 14626updatedNode = node.Update(parts, node.ConstantValueOpt, node.Type); 14638updatedNode = node.Update(node.InterpolationData, parts, node.ConstantValueOpt, infoAndType.Type); 14643updatedNode = node.Update(node.InterpolationData, parts, node.ConstantValueOpt, node.Type); 16852new TreeDumperNode("constantValueOpt", node.ConstantValueOpt, null), 16862new TreeDumperNode("constantValueOpt", node.ConstantValueOpt, null),
Operations\CSharpOperationFactory.cs (2)
2266ConstantValue? constantValue = boundInterpolatedString.ConstantValueOpt; 2472interpolatedString.ConstantValueOpt,