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