4 writes to _currentScope
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeGenerator.cs (4)
84_currentScope = new LocalScope(); 111_currentScope = null; 221_currentScope = newScope; 228_currentScope = _currentScope.parent;
17 references to _currentScope
dotnet-svcutil-lib (17)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeGenerator.cs (17)
135System.Diagnostics.Debug.Assert(_currentScope != null && _currentScope.ContainsKey(name)); 136return _currentScope[name]; 189if (_currentScope != null && _currentScope.TryGetValue(name, out loc)) 220LocalScope newScope = new LocalScope(_currentScope); 226Debug.Assert(_currentScope.parent != null); 227_currentScope.AddToFreeLocals(_freeLocals); 228_currentScope = _currentScope.parent; 257Debug.Assert(!_currentScope.ContainsKey(name)); 263_currentScope[name] = local; 270if (!_currentScope.TryGetValue(name, out local)) 1288Debug.Assert(_currentScope.ContainsKey(name)); 1289LocalBuilder local = _currentScope[name]; 1296if (!_currentScope.TryGetValue(name, out local)) 1311Debug.Assert(_currentScope.ContainsKey(name)); 1312LocalBuilder local = _currentScope[name];