Base:
property
ConstantValueOpt
Microsoft.CodeAnalysis.CSharp.BoundExpression.ConstantValueOpt
1 write to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7784
this.
ConstantValueOpt
= constantValueOpt;
18 references to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_InterpolatedString.cs (5)
242
if (unconvertedInterpolatedString.
ConstantValueOpt
is not null)
271
unconvertedInterpolatedString.
ConstantValueOpt
,
366
unconvertedSource.
ConstantValueOpt
,
535
expression.
ConstantValueOpt
,
596
unconvertedInterpolatedString.
ConstantValueOpt
,
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
2923
node is BoundUnconvertedInterpolatedString {
ConstantValueOpt
: null } or BoundBinaryOperator { IsUnconvertedInterpolatedStringAddition: true, ConstantValueOpt: null })
Generated\BoundNodes.xml.Generated.cs (10)
7807
if (parts != this.Parts || constantValueOpt != this.
ConstantValueOpt
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7835
if (!interpolationData.Equals(this.InterpolationData) || parts != this.Parts || constantValueOpt != this.
ConstantValueOpt
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
12056
return node.Update(parts, node.
ConstantValueOpt
, type);
12062
return node.Update(node.InterpolationData, parts, node.
ConstantValueOpt
, type);
14658
updatedNode = node.Update(parts, node.
ConstantValueOpt
, infoAndType.Type);
14663
updatedNode = node.Update(parts, node.
ConstantValueOpt
, node.Type);
14675
updatedNode = node.Update(node.InterpolationData, parts, node.
ConstantValueOpt
, infoAndType.Type);
14680
updatedNode = node.Update(node.InterpolationData, parts, node.
ConstantValueOpt
, node.Type);
16889
new TreeDumperNode("constantValueOpt", node.
ConstantValueOpt
, null),
16899
new TreeDumperNode("constantValueOpt", node.
ConstantValueOpt
, null),
Operations\CSharpOperationFactory.cs (2)
2266
ConstantValue? constantValue = boundInterpolatedString.
ConstantValueOpt
;
2472
interpolatedString.
ConstantValueOpt
,