3 writes to _lastDecl
System.Private.Xml (3)
System\Xml\XmlNamespacemanager.cs (3)
68_lastDecl = 2; 116_lastDecl = decl; 165_nsdecls[++_lastDecl].Set(prefix, uri, _scopeId, previousDeclIndex);
16 references to _lastDecl
System.Private.Xml (16)
System\Xml\XmlNamespacemanager.cs (16)
96int decl = _lastDecl; 158if (_lastDecl == _nsdecls.Length - 1) 171_hashTable[prefix] = _lastDecl; 174else if (_lastDecl >= MinDeclsCountForHashtable) 178_hashTable = new Dictionary<string, int>(_lastDecl); 179for (int i = 0; i <= _lastDecl; i++) 210Dictionary<string, string> prefixes = new Dictionary<string, string>(_lastDecl + 1); 211for (int thisDecl = 0; thisDecl <= _lastDecl; thisDecl++) 238i = _lastDecl; 248Dictionary<string, string> dict = new Dictionary<string, string>(_lastDecl - i + 1); 249for (; i <= _lastDecl; i++) 300for (int thisDecl = _lastDecl; thisDecl >= 0; thisDecl--) 309for (int thisDecl = _lastDecl; thisDecl >= 0; thisDecl--) 325for (int thisDecl = _lastDecl; thisDecl >= 0; thisDecl--) 344for (int thisDecl = _lastDecl; _nsdecls[thisDecl].scopeId == _scopeId; thisDecl--) 360idx = _lastDecl - idx;