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