4 writes to _addedStatements
Microsoft.CodeAnalysis.CSharp (4)
Lowering\ClosureConversion\ClosureConversion.cs (4)
298
_addedStatements
= null;
1536
_addedStatements
= null;
1571
_addedStatements
= oldAddedStatements;
1694
if (_addedStatements == null)
_addedStatements
= ArrayBuilder<BoundStatement>.GetInstance();
6 references to _addedStatements
Microsoft.CodeAnalysis.CSharp (6)
Lowering\ClosureConversion\ClosureConversion.cs (6)
295
_addedStatements
.Add(body);
296
body = new BoundBlock(body.Syntax, _addedLocals.ToImmutableAndFree(),
_addedStatements
.ToImmutableAndFree()) { WasCompilerGenerated = true };
302
Debug.Assert(
_addedStatements
== null);
1534
var oldAddedStatements =
_addedStatements
;
1694
if (
_addedStatements
== null) _addedStatements = ArrayBuilder<BoundStatement>.GetInstance();
1696
_addedStatements
.Add(F.Assignment(cache, F.Null(type)));