3 writes to _currentScope
System.Reflection.Emit (3)
System\Reflection\Emit\ILGeneratorImpl.cs (3)
46_currentScope = _scope; 240_currentScope = newScope; 781_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); 775if (_currentScope._parent == null) 780_currentScope._endOffset = _il.Offset; 781_currentScope = _currentScope._parent; 851_currentScope._importNamespaces ??= new List<string>(); 852_currentScope._importNamespaces.Add(usingNamespace);