2 instantiations of Scope
System.Reflection.Emit (2)
System\Reflection\Emit\ILGeneratorImpl.cs (2)
45_scope = new Scope(_il.Offset, parent: null); 238Scope newScope = new Scope(_il.Offset, _currentScope);
12 references to Scope
System.Reflection.Emit (12)
System\Reflection\Emit\ILGeneratorImpl.cs (9)
21private readonly Scope _scope; // scope of the entire method body 22private Scope _currentScope; 55internal Scope Scope => _scope; 237_currentScope._children ??= new List<Scope>(); 238Scope newScope = new Scope(_il.Offset, _currentScope); 916internal Scope(int offset, Scope? parent) 922internal Scope? _parent; 923internal List<Scope>? _children; 940foreach (Scope child in _children)
System\Reflection\Emit\ModuleBuilderImpl.cs (3)
440Scope scope = il.Scope; 513private void AddLocalScope(MethodDefinitionHandle methodHandle, ImportScopeHandle parentImport, LocalVariableHandle firstLocalVariableHandle, Scope scope) 522foreach (Scope childScope in scope._children)