3 writes to lastDecl
System.Xml (3)
System\Xml\XmlNamespacemanager.cs (3)
85lastDecl = 2; 118lastDecl = decl; 161nsdecls[++lastDecl].Set( prefix, uri, scopeId, previousDeclIndex );
16 references to lastDecl
System.Xml (16)
System\Xml\XmlNamespacemanager.cs (16)
107int decl = lastDecl; 155if ( lastDecl == nsdecls.Length - 1 ) { 165hashTable[prefix] = lastDecl; 168else if ( lastDecl >= MinDeclsCountForHashtable ) { 171hashTable = new Dictionary<string,int>( lastDecl ); 172for ( int i = 0; i <= lastDecl; i++ ) { 197Dictionary<string, string> prefixes = new Dictionary<string, string>(lastDecl + 1); 198for( int thisDecl = 0; thisDecl <= lastDecl; thisDecl ++ ) { 219i = lastDecl; 228Dictionary<string,string> dict = new Dictionary<string, string>( lastDecl - i + 1 ); 229for( ; i <= lastDecl; i++ ) { 265for( int thisDecl = lastDecl; thisDecl >= 0; thisDecl -- ) { 272for( int thisDecl = lastDecl; thisDecl >= 0; thisDecl -- ) { 283for( int thisDecl = lastDecl; thisDecl >= 0; thisDecl -- ) { 296for( int thisDecl = lastDecl; nsdecls[thisDecl].scopeId == scopeId; thisDecl-- ) { 309idx = lastDecl - idx;