8 writes to _additionalLocals
Microsoft.CodeAnalysis.CSharp (8)
Lowering\LocalRewriter\LocalRewriter.cs (6)
361_additionalLocals = null; 376_additionalLocals = oldAdditionalLocals; 427_additionalLocals = null; 451_additionalLocals = oldAdditionalLocals; 704_additionalLocals = ArrayBuilder<LocalSymbol>.GetInstance(); 740_additionalLocals = previousLocals;
Lowering\LocalRewriter\LocalRewriter_Block.cs (2)
28_additionalLocals = ArrayBuilder<LocalSymbol>.GetInstance(); 65_additionalLocals = previousLocals;
16 references to _additionalLocals
Microsoft.CodeAnalysis.CSharp (16)
Lowering\LocalRewriter\LocalRewriter.cs (7)
357var oldAdditionalLocals = _additionalLocals; 423var oldAdditionalLocals = _additionalLocals; 701var previousLocals = _additionalLocals; 718locals = locals.AddRange(_additionalLocals!); 725if (statement is null || previousLocals is { } || _additionalLocals!.Count == 0) 731_additionalLocals.ToImmutable(), 739_additionalLocals!.Free();
Lowering\LocalRewriter\LocalRewriter_Block.cs (3)
25var previousLocals = _additionalLocals; 55locals = locals.AddRange(_additionalLocals!); 64_additionalLocals!.Free();
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (6)
35Debug.Assert(_additionalLocals is { }); 249Debug.Assert(_additionalLocals is { }); 285_additionalLocals is { }) 551Debug.Assert(_additionalLocals is { }); 566_additionalLocals.Add(temp.LocalSymbol); 584_additionalLocals.Add(inlineArrayLocal.LocalSymbol);