9 references to LocalsScopes
ILAssembler (9)
Actions\GrammarActions.Instructions.cs (2)
68
for (int i = method.
LocalsScopes
.Count - 1; i >= 0; i--)
70
if (method.
LocalsScopes
[i].TryGetValue(variableName, out int localIndex))
Actions\GrammarActions.MethodBodies.Directives.cs (3)
34
if (_currentMethod.
LocalsScopes
.Count > 0)
36
localsScope = _currentMethod.
LocalsScopes
[^1];
41
_currentMethod.
LocalsScopes
.Add(localsScope);
Actions\GrammarActions.MethodBodies.ExceptionHandling.cs (4)
67
new ScopeFrame(context, CurrentMethodBodyOffset, _currentMethod.
LocalsScopes
.Count));
79
if (_currentMethod is not null && frame.LocalsScopeCount < _currentMethod.
LocalsScopes
.Count)
81
_currentMethod.
LocalsScopes
.RemoveRange(
83
_currentMethod.
LocalsScopes
.Count - frame.LocalsScopeCount);