4 writes to _addedStatements
Microsoft.CodeAnalysis.CSharp (4)
Lowering\ClosureConversion\ClosureConversion.cs (4)
308
_addedStatements
= null;
1567
_addedStatements
= null;
1602
_addedStatements
= oldAddedStatements;
1725
if (_addedStatements == null)
_addedStatements
= ArrayBuilder<BoundStatement>.GetInstance();
6 references to _addedStatements
Microsoft.CodeAnalysis.CSharp (6)
Lowering\ClosureConversion\ClosureConversion.cs (6)
305
_addedStatements
.Add(body);
306
body = new BoundBlock(body.Syntax, _addedLocals.ToImmutableAndFree(),
_addedStatements
.ToImmutableAndFree()) { WasCompilerGenerated = true };
312
Debug.Assert(
_addedStatements
== null);
1565
var oldAddedStatements =
_addedStatements
;
1725
if (
_addedStatements
== null) _addedStatements = ArrayBuilder<BoundStatement>.GetInstance();
1727
_addedStatements
.Add(F.Assignment(cache, F.Null(type)));