1 write to Value
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5777this.Value = value;
54 references to Value
Microsoft.CodeAnalysis.CSharp (54)
BoundTree\BoundNode_Source.cs (1)
342appendSource(sequence.Value);
BoundTree\BoundNodeExtensions.cs (1)
48expression = ((BoundSequence)expression).Value;
BoundTree\Expression.cs (1)
164protected override ImmutableArray<BoundNode?> Children => StaticCast<BoundNode?>.From(this.SideEffects.Add(this.Value));
CodeGen\CodeGenerator_HasHome.cs (1)
112return HasHome(((BoundSequence)expression).Value, addressKind, containingSymbol, peVerifyCompatEnabled, stackLocalsOpt);
CodeGen\EmitAddress.cs (3)
191if (DigForValueLocal(sequence, sequence.Value) != null) 345var result = EmitAddress(sequence.Value, addressKind); 365return DigForValueLocal(topSequence, ((BoundSequence)value).Value);
CodeGen\EmitExpression.cs (11)
859Debug.Assert(sequence.Value.Kind != BoundKind.TypeExpression || !used); 860if (sequence.Value.Kind != BoundKind.TypeExpression) 862EmitExpression(sequence.Value, used); 1295return FieldLoadPrefersRef(((BoundSequence)receiver).Value); 1574var seqValue = ((BoundSequence)(receiver)).Value; 1604var seqValue = ((BoundSequence)(receiver)).Value; 2100receiver = sequence.Value; 2229return IsRef(((BoundSequence)receiver).Value); 2922lhsUsesStack = EmitAssignmentPreamble(assignmentOperator.Update(sequence.Value, assignmentOperator.Right, assignmentOperator.IsRef, assignmentOperator.Type)); 3128EmitStore(assignment.Update(sequence.Value, assignment.Right, assignment.IsRef, assignment.Type)); 3938return StackMergeType(sequence.Value);
CodeGen\EmitStatement.cs (3)
627EmitCondBranch(sequence.Value, ref dest, sense); 1140exceptionSource = seq.Value; 1269expression = sequence.Value;
CodeGen\Optimizer.cs (6)
742var value = this.VisitExpression(node.Value, origContext); 759var value = node.Value; 908node.Update(sequence.Value, node.Right, node.IsRef, node.Type), 1073Debug.Assert(!IsIndirectAssignment(node.Update(((BoundSequence)node.Left).Value, node.Right, node.IsRef, node.Type)), 1218unwrappedSequence = sequence.Value; 1637unwrappedSequence = sequence.Value;
Compilation\CSharpSemanticModel.cs (1)
828expression = sequence.Value;
FlowAnalysis\AbstractFlowPass.cs (1)
3166Visit(node.Value);
Generated\BoundNodes.xml.Generated.cs (5)
5790if (locals != this.Locals || sideEffects != this.SideEffects || value != this.Value || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10445this.Visit(node.Value); 11711BoundExpression value = (BoundExpression)this.Visit(node.Value); 13789BoundExpression value = (BoundExpression)this.Visit(node.Value); 16315new TreeDumperNode("value", null, new TreeDumperNode[] { Visit(node.Value, null) }),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1144var newValue = (BoundExpression)this.Visit(node.Value);
Lowering\LocalRewriter\LocalRewriter.cs (1)
1078return CanBePassedByReference(((BoundSequence)expr).Value);
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (2)
241if (sequence.Value.Kind == BoundKind.IndexerAccess) 248sequence.Value,
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (2)
1611if (seq.Value.Kind == BoundKind.ConditionalOperator) 1613BoundConditionalOperator conditional = (BoundConditionalOperator)seq.Value;
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
870BoundSequence { Value: BoundLocal l } => l,
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (3)
247return IsFloatingPointExpressionOfUnknownPrecision(sequence.Value); 1308if (seq.Value.Kind == BoundKind.ConditionalOperator) 1310BoundConditionalOperator conditional = (BoundConditionalOperator)seq.Value;
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
242rewrittenReceiver = sequence.Value;
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (2)
217case BoundSequence { SideEffects.Length: 0, Value: BoundCall sequenceCall } sequence: 244Value: BoundObjectCreationExpression { Constructor: var objectCreationConstructor, Arguments: [BoundLocal constructorLocal] }
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
324if (seq.Value.Kind == BoundKind.ConditionalOperator) 326BoundConditionalOperator conditional = (BoundConditionalOperator)seq.Value;
Lowering\MethodToClassRewriter.cs (1)
168var newValue = (BoundExpression)this.Visit(node.Value);
Lowering\SpillSequenceSpiller.cs (3)
343expression = sequence.Value; 554Value: BoundLocal { LocalSymbol: { SynthesizedKind: SynthesizedLocalKind.LoweringTemp, RefKind: RefKind.None } } referenceTypeReceiver 1451var value = VisitExpression(ref valueBuilder, node.Value);
Operations\CSharpOperationFactory.cs (1)
2219Debug.Assert(boundExpressionStatement.Syntax == sequence.Value.Syntax);