Base:
property
ConstantValueOpt
Microsoft.CodeAnalysis.CSharp.BoundExpression.ConstantValueOpt
2 writes to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
4403
this.
ConstantValueOpt
= constantValueOpt;
4416
this.
ConstantValueOpt
= constantValueOpt;
11 references to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (11)
CodeGen\Optimizer.cs (1)
852
if (node.
ConstantValueOpt
== null)
Generated\BoundNodes.xml.Generated.cs (5)
4431
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(localSymbol, this.LocalSymbol) || declarationKind != this.DeclarationKind || constantValueOpt != this.
ConstantValueOpt
|| isNullableUnknown != this.IsNullableUnknown || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11079
return node.Update(node.LocalSymbol, node.DeclarationKind, node.
ConstantValueOpt
, node.IsNullableUnknown, type);
13084
updatedNode = node.Update(localSymbol, node.DeclarationKind, node.
ConstantValueOpt
, node.IsNullableUnknown, infoAndType.Type!);
13089
updatedNode = node.Update(localSymbol, node.DeclarationKind, node.
ConstantValueOpt
, node.IsNullableUnknown, node.Type);
15430
new TreeDumperNode("constantValueOpt", node.
ConstantValueOpt
, null),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
659
return node.Update(hoistedLocal, node.
ConstantValueOpt
, hoistedLocal.Type);
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
229
if (boundLocal.
ConstantValueOpt
== ConstantValue.Null)
Lowering\MethodToClassRewriter.cs (1)
440
return new BoundLocal(node.Syntax, replacementLocal, node.
ConstantValueOpt
, replacementLocal.Type, node.HasErrors);
Lowering\SpillSequenceSpiller.cs (1)
220
return node.Update(longLived, node.
ConstantValueOpt
, node.Type);
Operations\CSharpOperationFactory.cs (1)
555
ConstantValue? constantValue = boundLocal.
ConstantValueOpt
;