Base:
property
ConstantValueOpt
Microsoft.CodeAnalysis.CSharp.BoundExpression.ConstantValueOpt
1 write to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7784this.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)
2923node is BoundUnconvertedInterpolatedString { ConstantValueOpt: null } or BoundBinaryOperator { IsUnconvertedInterpolatedStringAddition: true, ConstantValueOpt: null })
Generated\BoundNodes.xml.Generated.cs (10)
7807if (parts != this.Parts || constantValueOpt != this.ConstantValueOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 7835if (!interpolationData.Equals(this.InterpolationData) || parts != this.Parts || constantValueOpt != this.ConstantValueOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 12056return node.Update(parts, node.ConstantValueOpt, type); 12062return node.Update(node.InterpolationData, parts, node.ConstantValueOpt, type); 14658updatedNode = node.Update(parts, node.ConstantValueOpt, infoAndType.Type); 14663updatedNode = node.Update(parts, node.ConstantValueOpt, node.Type); 14675updatedNode = node.Update(node.InterpolationData, parts, node.ConstantValueOpt, infoAndType.Type); 14680updatedNode = node.Update(node.InterpolationData, parts, node.ConstantValueOpt, node.Type); 16889new TreeDumperNode("constantValueOpt", node.ConstantValueOpt, null), 16899new TreeDumperNode("constantValueOpt", node.ConstantValueOpt, null),
Operations\CSharpOperationFactory.cs (2)
2266ConstantValue? constantValue = boundInterpolatedString.ConstantValueOpt; 2472interpolatedString.ConstantValueOpt,