Base:
property
ConstantValueOpt
Microsoft.CodeAnalysis.CSharp.BoundExpression.ConstantValueOpt
1 write to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1191
this.
ConstantValueOpt
= constantValueOpt;
11 references to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (11)
CodeGen\Optimizer.cs (1)
1660
return node.Update(node.OperatorKind, operand, node.
ConstantValueOpt
, node.MethodOpt, node.ConstrainedToTypeOpt, node.ResultKind, node.Type);
Generated\BoundNodes.xml.Generated.cs (5)
1212
if (operatorKind != this.OperatorKind || operand != this.Operand || constantValueOpt != this.
ConstantValueOpt
|| !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(methodOpt, this.MethodOpt) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || resultKind != this.ResultKind || originalUserDefinedOperatorsOpt != this.OriginalUserDefinedOperatorsOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10934
return node.Update(node.OperatorKind, operand, node.
ConstantValueOpt
, node.MethodOpt, constrainedToTypeOpt, node.ResultKind, node.OriginalUserDefinedOperatorsOpt, type);
12517
updatedNode = node.Update(node.OperatorKind, operand, node.
ConstantValueOpt
, methodOpt, constrainedToTypeOpt, node.ResultKind, node.OriginalUserDefinedOperatorsOpt, infoAndType.Type!);
12522
updatedNode = node.Update(node.OperatorKind, operand, node.
ConstantValueOpt
, methodOpt, constrainedToTypeOpt, node.ResultKind, node.OriginalUserDefinedOperatorsOpt, node.Type);
15161
new TreeDumperNode("constantValueOpt", node.
ConstantValueOpt
, null),
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
146
oldNode.
ConstantValueOpt
,
174
oldNode.Update(kind, loweredOperand, oldNode.
ConstantValueOpt
, methodOpt: method, constrainedToTypeOpt: constrainedToTypeOpt, oldNode.ResultKind, type) :
Lowering\MethodToClassRewriter.cs (1)
285
node.
ConstantValueOpt
,
Lowering\SpillSequenceSpiller.cs (1)
1508
return UpdateExpression(builder, node.Update(node.OperatorKind, operand, node.
ConstantValueOpt
, node.MethodOpt, node.ConstrainedToTypeOpt, node.ResultKind, node.Type));
Operations\CSharpOperationFactory.cs (1)
1438
ConstantValue? constantValue = boundUnaryOperator.
ConstantValueOpt
;