4 writes to _addedStatements
Microsoft.CodeAnalysis.CSharp (4)
Lowering\ClosureConversion\ClosureConversion.cs (4)
303
_addedStatements
= null;
1564
_addedStatements
= null;
1599
_addedStatements
= oldAddedStatements;
1722
if (_addedStatements == null)
_addedStatements
= ArrayBuilder<BoundStatement>.GetInstance();
6 references to _addedStatements
Microsoft.CodeAnalysis.CSharp (6)
Lowering\ClosureConversion\ClosureConversion.cs (6)
300
_addedStatements
.Add(body);
301
body = new BoundBlock(body.Syntax, _addedLocals.ToImmutableAndFree(),
_addedStatements
.ToImmutableAndFree()) { WasCompilerGenerated = true };
307
Debug.Assert(
_addedStatements
== null);
1562
var oldAddedStatements =
_addedStatements
;
1722
if (
_addedStatements
== null) _addedStatements = ArrayBuilder<BoundStatement>.GetInstance();
1724
_addedStatements
.Add(F.Assignment(cache, F.Null(type)));