3 writes to _currentScope
System.Reflection.Emit (3)
System\Reflection\Emit\ILGeneratorImpl.cs (3)
45_currentScope = _scope; 213_currentScope = newScope; 752_currentScope = _currentScope._parent;
10 references to _currentScope
System.Reflection.Emit (10)
System\Reflection\Emit\ILGeneratorImpl.cs (10)
210_currentScope._children ??= new List<Scope>(); 211Scope newScope = new Scope(_il.Offset, _currentScope); 212_currentScope._children.Add(newScope); 220_currentScope._locals ??= new List<LocalBuilder>(); 222_currentScope._locals.Add(local); 746if (_currentScope._parent == null) 751_currentScope._endOffset = _il.Offset; 752_currentScope = _currentScope._parent; 822_currentScope._importNamespaces ??= new List<string>(); 823_currentScope._importNamespaces.Add(usingNamespace);