Base:
property
ConstantValueOpt
Microsoft.CodeAnalysis.CSharp.BoundExpression.ConstantValueOpt
1 write to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7267
this.
ConstantValueOpt
= constantValueOpt;
14 references to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (14)
CodeGen\Optimizer.cs (1)
1378
return node.Update(receiver, field, node.
ConstantValueOpt
, node.ResultKind, node.Type);
Generated\BoundNodes.xml.Generated.cs (5)
7286
if (receiverOpt != this.ReceiverOpt || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(fieldSymbol, this.FieldSymbol) || constantValueOpt != this.
ConstantValueOpt
|| resultKind != this.ResultKind || isByValue != this.IsByValue || isDeclaration != this.IsDeclaration || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11969
return node.Update(receiverOpt, node.FieldSymbol, node.
ConstantValueOpt
, node.ResultKind, node.IsByValue, node.IsDeclaration, type);
14457
updatedNode = node.Update(receiverOpt, fieldSymbol, node.
ConstantValueOpt
, node.ResultKind, node.IsByValue, node.IsDeclaration, infoAndType.Type!);
14462
updatedNode = node.Update(receiverOpt, fieldSymbol, node.
ConstantValueOpt
, node.ResultKind, node.IsByValue, node.IsDeclaration, node.Type);
16742
new TreeDumperNode("constantValueOpt", node.
ConstantValueOpt
, null),
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
644
return MakeFieldAccess(fieldAccess.Syntax, receiverOpt, fieldAccess.FieldSymbol, fieldAccess.
ConstantValueOpt
, fieldAccess.ResultKind, fieldAccess.Type, fieldAccess);
Lowering\LocalRewriter\LocalRewriter_Field.cs (1)
14
return MakeFieldAccess(node.Syntax, rewrittenReceiver, node.FieldSymbol, node.
ConstantValueOpt
, node.ResultKind, node.Type, node);
Lowering\LocalRewriter\LocalRewriter_PointerElementAccess.cs (1)
25
fieldAccess = fieldAccess.Update(loweredFieldReceiver, fieldAccess.FieldSymbol, fieldAccess.
ConstantValueOpt
, fieldAccess.ResultKind, fieldAccess.Type);
Lowering\MethodToClassRewriter.cs (1)
558
return node.Update(receiverOpt, fieldSymbol, node.
ConstantValueOpt
, node.ResultKind, type);
Lowering\SpillSequenceSpiller.cs (3)
420
return field.Update(receiver, fieldSymbol, field.
ConstantValueOpt
, field.ResultKind, field.Type);
957
field = field.Update(receiver, field.FieldSymbol, field.
ConstantValueOpt
, field.ResultKind, field.Type);
1216
return UpdateExpression(builder, node.Update(receiver, node.FieldSymbol, node.
ConstantValueOpt
, node.ResultKind, node.Type));
Operations\CSharpOperationFactory.cs (1)
578
ConstantValue? constantValue = boundFieldAccess.
ConstantValueOpt
;