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)
192
result = _builder.
LocalSlotManager
.DeclareLocal(
CodeGen\EmitExpression.cs (12)
1674
var countBefore = _builder.
LocalSlotManager
.StartScopeOfTrackingAddressedLocals();
1678
_builder.
LocalSlotManager
.EndScopeOfTrackingAddressedLocals(countBefore,
1710
var countBefore = _builder.
LocalSlotManager
.StartScopeOfTrackingAddressedLocals();
1778
_builder.
LocalSlotManager
.EndScopeOfTrackingAddressedLocals(countBefore, MightEscapeTemporaryRefs(call, used: true));
1780
countBefore = _builder.
LocalSlotManager
.StartScopeOfTrackingAddressedLocals();
1843
_builder.
LocalSlotManager
.EndScopeOfTrackingAddressedLocals(countBefore, MightEscapeTemporaryRefs(call, used: useKind != UseKind.Unused));
2477
var countBefore = _builder.
LocalSlotManager
.StartScopeOfTrackingAddressedLocals();
2481
_builder.
LocalSlotManager
.EndScopeOfTrackingAddressedLocals(countBefore,
2740
var countBefore = _builder.
LocalSlotManager
.StartScopeOfTrackingAddressedLocals();
2744
_builder.
LocalSlotManager
.EndScopeOfTrackingAddressedLocals(countBefore,
4069
var countBefore = _builder.
LocalSlotManager
.StartScopeOfTrackingAddressedLocals();
4073
_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)
1719
var localVariables = builder.
LocalSlotManager
.LocalsInOrder();
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
2510
Debug.Assert(builder.
LocalSlotManager
!= null);
2516
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);