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