1 write to LocalSlotManager
Microsoft.CodeAnalysis (1)
CodeGen\ILBuilder.cs (1)
74
this.
LocalSlotManager
= localSlotManager;
29 references to LocalSlotManager
Microsoft.CodeAnalysis (2)
CodeGen\ILBuilderEmit.cs (2)
489
Debug.Assert(
LocalSlotManager
!= null);
490
LocalSlotManager
.AddAddressedLocal(local, _optimizations);
Microsoft.CodeAnalysis.CSharp (20)
CodeGen\CodeGenerator.cs (1)
179
result = _builder.
LocalSlotManager
.DeclareLocal(
CodeGen\EmitExpression.cs (12)
1663
var countBefore = _builder.
LocalSlotManager
.StartScopeOfTrackingAddressedLocals();
1667
_builder.
LocalSlotManager
.EndScopeOfTrackingAddressedLocals(countBefore,
1699
var countBefore = _builder.
LocalSlotManager
.StartScopeOfTrackingAddressedLocals();
1767
_builder.
LocalSlotManager
.EndScopeOfTrackingAddressedLocals(countBefore, MightEscapeTemporaryRefs(call, used: true));
1769
countBefore = _builder.
LocalSlotManager
.StartScopeOfTrackingAddressedLocals();
1832
_builder.
LocalSlotManager
.EndScopeOfTrackingAddressedLocals(countBefore, MightEscapeTemporaryRefs(call, used: useKind != UseKind.Unused));
2466
var countBefore = _builder.
LocalSlotManager
.StartScopeOfTrackingAddressedLocals();
2470
_builder.
LocalSlotManager
.EndScopeOfTrackingAddressedLocals(countBefore,
2729
var countBefore = _builder.
LocalSlotManager
.StartScopeOfTrackingAddressedLocals();
2733
_builder.
LocalSlotManager
.EndScopeOfTrackingAddressedLocals(countBefore,
4058
var countBefore = _builder.
LocalSlotManager
.StartScopeOfTrackingAddressedLocals();
4062
_builder.
LocalSlotManager
.EndScopeOfTrackingAddressedLocals(countBefore,
CodeGen\EmitStatement.cs (6)
805
_builder.AddLocalToScope(_builder.
LocalSlotManager
.GetLocal(local));
1760
return _builder.
LocalSlotManager
.GetLocal(symbol);
1823
var localDef = _builder.
LocalSlotManager
.DeclareLocal(
1900
_builder.
LocalSlotManager
.FreeLocal(local);
1909
return _builder.
LocalSlotManager
.AllocateSlot(
1919
_builder.
LocalSlotManager
.FreeSlot(temp);
Compiler\MethodCompiler.cs (1)
1695
var localVariables = builder.
LocalSlotManager
.LocalsInOrder();
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
2471
Debug.Assert(builder.
LocalSlotManager
!= null);
2477
var builderLocal = builder.
LocalSlotManager
.LocalsInOrder()[i];
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\CompilationTestDataExtensions.cs (1)
109
Cci.MetadataWriter.GetLocalSlotDebugInfos(methodData.ILBuilder.
LocalSlotManager
.LocalsInOrder()),
Metadata\ILBuilderVisualizer.cs (4)
143
Debug.Assert(builder.
LocalSlotManager
!= null);
153
var locals = builder.
LocalSlotManager
.LocalsInOrder().SelectAsArray(mapLocal);
183
Debug.Assert(builder.
LocalSlotManager
!= null);
192
var locals = builder.
LocalSlotManager
.LocalsInOrder().SelectAsArray(mapLocal);