Base:
property
ConstantValueOpt
Microsoft.CodeAnalysis.CSharp.BoundExpression.ConstantValueOpt
2 writes to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
4515
this.
ConstantValueOpt
= constantValueOpt;
4528
this.
ConstantValueOpt
= constantValueOpt;
11 references to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (11)
CodeGen\Optimizer.cs (1)
853
if (node.
ConstantValueOpt
== null)
Generated\BoundNodes.xml.Generated.cs (5)
4543
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(localSymbol, this.LocalSymbol) || declarationKind != this.DeclarationKind || constantValueOpt != this.
ConstantValueOpt
|| isNullableUnknown != this.IsNullableUnknown || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11475
return node.Update(node.LocalSymbol, node.DeclarationKind, node.
ConstantValueOpt
, node.IsNullableUnknown, type);
13552
updatedNode = node.Update(localSymbol, node.DeclarationKind, node.
ConstantValueOpt
, node.IsNullableUnknown, infoAndType.Type!);
13557
updatedNode = node.Update(localSymbol, node.DeclarationKind, node.
ConstantValueOpt
, node.IsNullableUnknown, node.Type);
15991
new TreeDumperNode("constantValueOpt", node.
ConstantValueOpt
, null),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
690
return node.Update(hoistedLocal, node.
ConstantValueOpt
, hoistedLocal.Type);
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
230
if (boundLocal.
ConstantValueOpt
== ConstantValue.Null)
Lowering\MethodToClassRewriter.cs (1)
449
return new BoundLocal(node.Syntax, replacementLocal, node.
ConstantValueOpt
, replacementLocal.Type, node.HasErrors);
Lowering\SpillSequenceSpiller.cs (1)
219
return node.Update(longLived, node.
ConstantValueOpt
, node.Type);
Operations\CSharpOperationFactory.cs (1)
558
ConstantValue? constantValue = boundLocal.
ConstantValueOpt
;