Base:
property
ConstantValueOpt
Microsoft.CodeAnalysis.CSharp.BoundExpression.ConstantValueOpt
1 write to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7266this.ConstantValueOpt = constantValueOpt;
14 references to ConstantValueOpt
Microsoft.CodeAnalysis.CSharp (14)
CodeGen\Optimizer.cs (1)
1378return node.Update(receiver, field, node.ConstantValueOpt, node.ResultKind, node.Type);
Generated\BoundNodes.xml.Generated.cs (5)
7285if (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)) 11932return node.Update(receiverOpt, node.FieldSymbol, node.ConstantValueOpt, node.ResultKind, node.IsByValue, node.IsDeclaration, type); 14420updatedNode = node.Update(receiverOpt, fieldSymbol, node.ConstantValueOpt, node.ResultKind, node.IsByValue, node.IsDeclaration, infoAndType.Type!); 14425updatedNode = node.Update(receiverOpt, fieldSymbol, node.ConstantValueOpt, node.ResultKind, node.IsByValue, node.IsDeclaration, node.Type); 16705new TreeDumperNode("constantValueOpt", node.ConstantValueOpt, null),
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
644return MakeFieldAccess(fieldAccess.Syntax, receiverOpt, fieldAccess.FieldSymbol, fieldAccess.ConstantValueOpt, fieldAccess.ResultKind, fieldAccess.Type, fieldAccess);
Lowering\LocalRewriter\LocalRewriter_Field.cs (1)
14return MakeFieldAccess(node.Syntax, rewrittenReceiver, node.FieldSymbol, node.ConstantValueOpt, node.ResultKind, node.Type, node);
Lowering\LocalRewriter\LocalRewriter_PointerElementAccess.cs (1)
25fieldAccess = fieldAccess.Update(loweredFieldReceiver, fieldAccess.FieldSymbol, fieldAccess.ConstantValueOpt, fieldAccess.ResultKind, fieldAccess.Type);
Lowering\MethodToClassRewriter.cs (1)
558return node.Update(receiverOpt, fieldSymbol, node.ConstantValueOpt, node.ResultKind, type);
Lowering\SpillSequenceSpiller.cs (3)
420return field.Update(receiver, fieldSymbol, field.ConstantValueOpt, field.ResultKind, field.Type); 957field = field.Update(receiver, field.FieldSymbol, field.ConstantValueOpt, field.ResultKind, field.Type); 1216return UpdateExpression(builder, node.Update(receiver, node.FieldSymbol, node.ConstantValueOpt, node.ResultKind, node.Type));
Operations\CSharpOperationFactory.cs (1)
578ConstantValue? constantValue = boundFieldAccess.ConstantValueOpt;