Base:
property
ConstantValueOpt
Microsoft.CodeAnalysis.CSharp.BoundExpression.ConstantValueOpt
1 write to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6359
this.
ConstantValueOpt
= constantValueOpt;
15 references to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Expressions.cs (1)
6966
creation.ArgumentRefKindsOpt, creation.Expanded, creation.ArgsToParamsOpt, creation.DefaultArguments, creation.
ConstantValueOpt
,
BoundTree\BoundExpression.cs (1)
551
constantValueOpt:
ConstantValueOpt
,
CodeGen\Optimizer.cs (2)
1323
node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.
ConstantValueOpt
, initializerExpressionOpt: null, node.Type);
2146
return node.Update(node.Constructor, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.
ConstantValueOpt
, initializerExpressionOpt: null, type);
Generated\BoundNodes.xml.Generated.cs (5)
6381
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(constructor, this.Constructor) || constructorsGroup != this.ConstructorsGroup || arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || expanded != this.Expanded || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || constantValueOpt != this.
ConstantValueOpt
|| initializerExpressionOpt != this.InitializerExpressionOpt || wasTargetTyped != this.WasTargetTyped || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11770
return node.Update(node.Constructor, node.ConstructorsGroup, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.
ConstantValueOpt
, initializerExpressionOpt, node.WasTargetTyped, type);
14014
updatedNode = node.Update(constructor, constructorsGroup, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.
ConstantValueOpt
, initializerExpressionOpt, node.WasTargetTyped, infoAndType.Type!);
14019
updatedNode = node.Update(constructor, constructorsGroup, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.
ConstantValueOpt
, initializerExpressionOpt, node.WasTargetTyped, node.Type);
16453
new TreeDumperNode("constantValueOpt", node.
ConstantValueOpt
, null),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
1049
if (node.
ConstantValueOpt
!= null)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
635
loweredInput.Expanded, loweredInput.ArgsToParamsOpt, loweredInput.DefaultArguments, loweredInput.
ConstantValueOpt
,
Lowering\LocalRewriter\LocalRewriter_TupleCreationExpression.cs (1)
107
currentCreation.
ConstantValueOpt
,
Lowering\MethodToClassRewriter.cs (1)
576
rewritten.
ConstantValueOpt
,
Lowering\SpillSequenceSpiller.cs (1)
1417
return UpdateExpression(builder, node.Update(node.Constructor, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.
ConstantValueOpt
, node.InitializerExpressionOpt, node.Type));
Operations\CSharpOperationFactory.cs (1)
706
ConstantValue? constantValue = boundObjectCreationExpression.
ConstantValueOpt
;