1 write to SideEffects
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5775
this.
SideEffects
= sideEffects;
25 references to SideEffects
Microsoft.CodeAnalysis.CSharp (25)
BoundTree\BoundNode_Source.cs (1)
337
foreach (var effect in sequence.
SideEffects
)
BoundTree\BoundNodeExtensions.cs (1)
45
if (expression.Kind == BoundKind.Sequence && ((BoundSequence)expression).
SideEffects
.IsDefaultOrEmpty)
BoundTree\Expression.cs (1)
164
protected override ImmutableArray<BoundNode?> Children => StaticCast<BoundNode?>.From(this.
SideEffects
.Add(this.Value));
CodeGen\EmitExpression.cs (1)
936
var sideEffects = sequence.
SideEffects
;
CodeGen\Optimizer.cs (3)
720
var sideeffects = node.
SideEffects
;
764
var sideeffects = node.
SideEffects
;
907
sequence.
SideEffects
,
FlowAnalysis\AbstractFlowPass.cs (1)
3153
var sideEffects = node.
SideEffects
;
Generated\BoundNodes.xml.Generated.cs (5)
5789
if (locals != this.Locals || sideEffects != this.
SideEffects
|| value != this.Value || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10407
this.VisitList(node.
SideEffects
);
11673
ImmutableArray<BoundExpression> sideEffects = this.VisitList(node.
SideEffects
);
13751
ImmutableArray<BoundExpression> sideEffects = this.VisitList(node.
SideEffects
);
16277
new TreeDumperNode("sideEffects", null, from x in node.
SideEffects
select Visit(x, null)),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1138
foreach (var effect in node.
SideEffects
)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
245
sequence.
SideEffects
,
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
1623
seq.
SideEffects
,
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
1320
seq.
SideEffects
,
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
241
sideEffects.AddRange(sequence.
SideEffects
);
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (2)
217
case BoundSequence {
SideEffects
.Length: 0, Value: BoundCall sequenceCall } sequence:
243
SideEffects
: [BoundAssignmentOperator { Right.Type.SpecialType: SpecialType.System_Char } assignment],
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
336
seq.
SideEffects
,
Lowering\MethodToClassRewriter.cs (1)
167
var newSideEffects = VisitList<BoundExpression>(node.
SideEffects
);
Lowering\SpillSequenceSpiller.cs (3)
342
builder.AddExpressions(sequence.
SideEffects
);
545
SideEffects
:
1455
var sideEffects = VisitExpressionList(ref builder, node.
SideEffects
, forceSpill: valueBuilder != null, sideEffectsOnly: true);