2 writes to _lastRecord
System.Private.Xml (2)
System\Xml\Xsl\Xslt\CompilerScopeManager.cs (2)
85while (_records[--_lastRecord].scopeCount == 0) 137if (++_lastRecord == _records.Length)
23 references to _lastRecord
System.Private.Xml (23)
System\Xml\Xsl\Xslt\CompilerScopeManager.cs (23)
88_lastScopes = _records[_lastRecord].scopeCount; 97Debug.Assert(_lastRecord == 0 && _lastScopes == 0, "PushScope() and PopScope() calls are unbalanced"); 135_records[_lastRecord].scopeCount = _lastScopes; 139ScopeRecord[] newRecords = new ScopeRecord[_lastRecord * 2]; 140Array.Copy(_records, newRecords, _lastRecord); 152ScopeFlags flags = _records[_lastRecord].flags; 160_records[_lastRecord].flags = flags | flag; 161_records[_lastRecord].ncName = ncName; 162_records[_lastRecord].nsUri = uri; 163_records[_lastRecord].value = value; 169ScopeFlags flags = _records[_lastRecord].flags; 191_records[_lastRecord].flags = flags; 193Debug.Assert((_records[_lastRecord].flags & ScopeFlags.CompatibilityFlags) != ScopeFlags.CompatibilityFlags, 227return LookupNamespace(prefix, _lastRecord, 0); 251for (int record = _lastRecord; 0 <= record; record--) 302for (int record = _lastRecord; 0 <= record; --record) 340get { return (_records[_lastRecord].flags & ScopeFlags.ForwardCompatibility) != 0; } 346get { return (_records[_lastRecord].flags & ScopeFlags.BackwardCompatibility) != 0; } 352get { return (_records[_lastRecord].flags & ScopeFlags.CanHaveApplyImports) != 0; } 358int currentRecord = _lastRecord + 1; 365if (LookupNamespace(_records[currentRecord].ncName!, _lastRecord, currentRecord + 1) != null) 389_lastRecord = scope._lastRecord; 414Debug.Assert(LastPredefRecord <= _currentRecord && _currentRecord <= _scope._lastRecord, "MoveNext() either was not called or returned false");