Base:
property
ConstantValueOpt
Microsoft.CodeAnalysis.CSharp.BoundExpression.ConstantValueOpt
1 write to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6359this.ConstantValueOpt = constantValueOpt;
15 references to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Expressions.cs (1)
6969creation.ArgumentRefKindsOpt, creation.Expanded, creation.ArgsToParamsOpt, creation.DefaultArguments, creation.ConstantValueOpt,
BoundTree\BoundExpression.cs (1)
551constantValueOpt: ConstantValueOpt,
CodeGen\Optimizer.cs (2)
1323node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.ConstantValueOpt, initializerExpressionOpt: null, node.Type); 2146return 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)
6381if (!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)) 11806return node.Update(node.Constructor, node.ConstructorsGroup, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.ConstantValueOpt, initializerExpressionOpt, node.WasTargetTyped, type); 14050updatedNode = node.Update(constructor, constructorsGroup, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.ConstantValueOpt, initializerExpressionOpt, node.WasTargetTyped, infoAndType.Type!); 14055updatedNode = node.Update(constructor, constructorsGroup, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.ConstantValueOpt, initializerExpressionOpt, node.WasTargetTyped, node.Type); 16489new TreeDumperNode("constantValueOpt", node.ConstantValueOpt, null),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
1049if (node.ConstantValueOpt != null)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
635loweredInput.Expanded, loweredInput.ArgsToParamsOpt, loweredInput.DefaultArguments, loweredInput.ConstantValueOpt,
Lowering\LocalRewriter\LocalRewriter_TupleCreationExpression.cs (1)
107currentCreation.ConstantValueOpt,
Lowering\MethodToClassRewriter.cs (1)
576rewritten.ConstantValueOpt,
Lowering\SpillSequenceSpiller.cs (1)
1417return 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)
706ConstantValue? constantValue = boundObjectCreationExpression.ConstantValueOpt;