4 writes to _addedLocals
Microsoft.CodeAnalysis.CSharp (4)
Lowering\ClosureConversion\ClosureConversion.cs (4)
302
_addedLocals
= null;
1565
_addedLocals
= null;
1598
_addedLocals
= oldAddedLocals;
1720
if (_addedLocals == null)
_addedLocals
= ArrayBuilder<LocalSymbol>.GetInstance();
5 references to _addedLocals
Microsoft.CodeAnalysis.CSharp (5)
Lowering\ClosureConversion\ClosureConversion.cs (5)
298
if (
_addedLocals
!= null)
301
body = new BoundBlock(body.Syntax,
_addedLocals
.ToImmutableAndFree(), _addedStatements.ToImmutableAndFree()) { WasCompilerGenerated = true };
1563
var oldAddedLocals =
_addedLocals
;
1720
if (
_addedLocals
== null) _addedLocals = ArrayBuilder<LocalSymbol>.GetInstance();
1721
_addedLocals
.Add(cacheLocal);