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