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