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)
357
var oldAdditionalLocals =
_additionalLocals
;
423
var oldAdditionalLocals =
_additionalLocals
;
701
var previousLocals =
_additionalLocals
;
718
locals = locals.AddRange(
_additionalLocals
!);
725
if (statement is null || previousLocals is { } ||
_additionalLocals
!.Count == 0)
731
_additionalLocals
.ToImmutable(),
739
_additionalLocals
!.Free();
Lowering\LocalRewriter\LocalRewriter_Block.cs (3)
25
var previousLocals =
_additionalLocals
;
55
locals = locals.AddRange(
_additionalLocals
!);
64
_additionalLocals
!.Free();
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (6)
35
Debug.Assert(
_additionalLocals
is { });
246
Debug.Assert(
_additionalLocals
is { });
282
_additionalLocals
is { })
536
Debug.Assert(
_additionalLocals
is { });
551
_additionalLocals
.Add(temp.LocalSymbol);
569
_additionalLocals
.Add(inlineArrayLocal.LocalSymbol);