3 writes to _currentScope
System.Reflection.Emit (3)
System\Reflection\Emit\ILGeneratorImpl.cs (3)
46_currentScope = _scope; 240_currentScope = newScope; 779_currentScope = _currentScope._parent;
10 references to _currentScope
System.Reflection.Emit (10)
System\Reflection\Emit\ILGeneratorImpl.cs (10)
237_currentScope._children ??= new List<Scope>(); 238Scope newScope = new Scope(_il.Offset, _currentScope); 239_currentScope._children.Add(newScope); 247_currentScope._locals ??= new List<LocalBuilder>(); 249_currentScope._locals.Add(local); 773if (_currentScope._parent == null) 778_currentScope._endOffset = _il.Offset; 779_currentScope = _currentScope._parent; 849_currentScope._importNamespaces ??= new List<string>(); 850_currentScope._importNamespaces.Add(usingNamespace);