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