Base:
property
ConstantValueOpt
Microsoft.CodeAnalysis.CSharp.BoundExpression.ConstantValueOpt
1 write to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2963this.ConstantValueOpt = constantValueOpt;
14 references to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Attributes.cs (1)
900Debug.Assert(node.ConstantValueOpt == null);
Binder\Binder_Operators.cs (1)
69explicitCastInCode: true, conversion.ConstantValueOpt, conversion.ConversionGroupOpt, conversion.Type);
BoundTree\BoundExpression.cs (1)
480return this.Update(operand: operand, this.Conversion, this.IsBaseConversion, this.Checked, this.ExplicitCastInCode, this.ConstantValueOpt, this.ConversionGroupOpt, this.OriginalUserDefinedConversionsOpt, this.Type);
Generated\BoundNodes.xml.Generated.cs (5)
2983if (operand != this.Operand || conversion != this.Conversion || isBaseConversion != this.IsBaseConversion || @checked != this.Checked || explicitCastInCode != this.ExplicitCastInCode || constantValueOpt != this.ConstantValueOpt || conversionGroupOpt != this.ConversionGroupOpt || originalUserDefinedConversionsOpt != this.OriginalUserDefinedConversionsOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11242return node.Update(operand, node.Conversion, node.IsBaseConversion, node.Checked, node.ExplicitCastInCode, node.ConstantValueOpt, node.ConversionGroupOpt, node.OriginalUserDefinedConversionsOpt, type); 13273updatedNode = node.Update(operand, node.Conversion, node.IsBaseConversion, node.Checked, node.ExplicitCastInCode, node.ConstantValueOpt, node.ConversionGroupOpt, node.OriginalUserDefinedConversionsOpt, infoAndType.Type!); 13278updatedNode = node.Update(operand, node.Conversion, node.IsBaseConversion, node.Checked, node.ExplicitCastInCode, node.ConstantValueOpt, node.ConversionGroupOpt, node.OriginalUserDefinedConversionsOpt, node.Type); 15630new TreeDumperNode("constantValueOpt", node.ConstantValueOpt, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1409constantValueOpt: conversion.ConstantValueOpt,
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
679constantValueOpt: conversion.ConstantValueOpt,
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
79var result = MakeConversionNode(node, node.Syntax, rewrittenOperand, node.Conversion, node.Checked, node.ExplicitCastInCode, node.ConstantValueOpt, rewrittenType);
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
612constantValueOpt: conv.ConstantValueOpt, rewrittenType: conv.Type)
Lowering\MethodToClassRewriter.cs (1)
306node.ConstantValueOpt,
Operations\CSharpOperationFactory.cs (1)
1115ConstantValue? constantValue = boundConversion.ConstantValueOpt;