Base:
property
ConstantValueOpt
Microsoft.CodeAnalysis.CSharp.BoundExpression.ConstantValueOpt
1 write to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7783
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)
2915
node is BoundUnconvertedInterpolatedString {
ConstantValueOpt
: null } or BoundBinaryOperator { IsUnconvertedInterpolatedStringAddition: true, ConstantValueOpt: null })
Generated\BoundNodes.xml.Generated.cs (10)
7806
if (parts != this.Parts || constantValueOpt != this.
ConstantValueOpt
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7834
if (!interpolationData.Equals(this.InterpolationData) || parts != this.Parts || constantValueOpt != this.
ConstantValueOpt
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
12019
return node.Update(parts, node.
ConstantValueOpt
, type);
12025
return node.Update(node.InterpolationData, parts, node.
ConstantValueOpt
, type);
14621
updatedNode = node.Update(parts, node.
ConstantValueOpt
, infoAndType.Type);
14626
updatedNode = node.Update(parts, node.
ConstantValueOpt
, node.Type);
14638
updatedNode = node.Update(node.InterpolationData, parts, node.
ConstantValueOpt
, infoAndType.Type);
14643
updatedNode = node.Update(node.InterpolationData, parts, node.
ConstantValueOpt
, node.Type);
16852
new TreeDumperNode("constantValueOpt", node.
ConstantValueOpt
, null),
16862
new TreeDumperNode("constantValueOpt", node.
ConstantValueOpt
, null),
Operations\CSharpOperationFactory.cs (2)
2266
ConstantValue? constantValue = boundInterpolatedString.
ConstantValueOpt
;
2472
interpolatedString.
ConstantValueOpt
,