10 references to OpenScopes
ILAssembler (10)
Actions\GrammarActions.Conversions.cs (1)
211OpenScopes.Add(new LexicalScope(startOffset: 0, order: 0));
Actions\GrammarActions.Instructions.cs (2)
69for (int i = method.OpenScopes.Count - 1; i >= 0; i--) 71if (method.OpenScopes[i].Names.TryGetValue(variableName, out int localIndex))
Actions\GrammarActions.MethodBodies.ExceptionHandling.cs (1)
57new ScopeFrame(context, CurrentMethodBodyOffset, _currentMethod.OpenScopes.Count));
Actions\GrammarActions.MethodBodies.Locals.cs (6)
167LexicalScope scope = method.OpenScopes[^1]; 240=> method.OpenScopes.Add(new LexicalScope(CurrentMethodBodyOffset, method.NextScopeOrder++)); 252while (method.OpenScopes.Count > count) 254LexicalScope scope = method.OpenScopes[^1]; 255method.OpenScopes.RemoveAt(method.OpenScopes.Count - 1);