2 writes to _nsdecls
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\XmlNamespaceManager.cs (2)
79_nsdecls = new NamespaceDeclaration[8]; 173_nsdecls = newNsdecls;
39 references to _nsdecls
dotnet-svcutil-lib (39)
FrameworkFork\Microsoft.Xml\Xml\XmlNamespaceManager.cs (39)
81_nsdecls[0].Set(emptyStr, emptyStr, -1, -1); 82_nsdecls[1].Set(_xmlNs, nameTable.Add(XmlReservedNs.NsXmlNs), -1, -1); 83_nsdecls[2].Set(_xml, nameTable.Add(XmlReservedNs.NsXml), 0, -1); 117while (_nsdecls[decl].scopeId == _scopeId) 121_hashTable[_nsdecls[decl].prefix] = _nsdecls[decl].previousNsIndex; 155if (_nsdecls[declIndex].scopeId == _scopeId) 158_nsdecls[declIndex].uri = uri; 169if (_lastDecl == _nsdecls.Length - 1) 171NamespaceDeclaration[] newNsdecls = new NamespaceDeclaration[_nsdecls.Length * 2]; 172Array.Copy(_nsdecls, 0, newNsdecls, 0, _nsdecls.Length); 176_nsdecls[++_lastDecl].Set(prefix, uri, _scopeId, previousDeclIndex); 191_hashTable[_nsdecls[i].prefix] = i; 211if (String.Equals(_nsdecls[declIndex].uri, uri) && _nsdecls[declIndex].scopeId == _scopeId) 213_nsdecls[declIndex].uri = null; 215declIndex = _nsdecls[declIndex].previousNsIndex; 224if (_nsdecls[thisDecl].uri != null) 226prefixes[_nsdecls[thisDecl].prefix] = _nsdecls[thisDecl].prefix; 248while (_nsdecls[i].scopeId == _scopeId) 260string prefix = _nsdecls[i].prefix; 261string uri = _nsdecls[i].uri; 283return (declIndex == -1) ? null : _nsdecls[declIndex].uri; 293while (declIndex != -1 && _nsdecls[declIndex].uri == null) 295declIndex = _nsdecls[declIndex].previousNsIndex; 306if ((object)_nsdecls[thisDecl].prefix == (object)prefix && _nsdecls[thisDecl].uri != null) 315if (String.Equals(_nsdecls[thisDecl].prefix, prefix) && _nsdecls[thisDecl].uri != null) 329if (String.Equals(_nsdecls[thisDecl].uri, uri)) 331string prefix = _nsdecls[thisDecl].prefix; 344for (int thisDecl = _lastDecl; _nsdecls[thisDecl].scopeId == _scopeId; thisDecl--) 346if (String.Equals(_nsdecls[thisDecl].prefix, prefix) && _nsdecls[thisDecl].uri != null) 348if (prefix.Length > 0 || _nsdecls[thisDecl].uri.Length > 0) 367prefix = _nsdecls[idx].prefix; 368uri = _nsdecls[idx].uri;