1 write to _records
System.Private.Xml (1)
System\Xml\Xsl\Xslt\CompilerScopeManager.cs (1)
141_records = newRecords;
35 references to _records
System.Private.Xml (35)
System\Xml\Xsl\Xslt\CompilerScopeManager.cs (35)
60_records[0].flags = ScopeFlags.NsDecl; 61_records[0].ncName = "xml"; 62_records[0].nsUri = XmlReservedNs.NsXml; 67_records[0].flags = ScopeFlags.NsDecl; 68_records[0].ncName = atoms.Xml; 69_records[0].nsUri = atoms.UriXml; 85while (_records[--_lastRecord].scopeCount == 0) 88_lastScopes = _records[_lastRecord].scopeCount; 135_records[_lastRecord].scopeCount = _lastScopes; 137if (++_lastRecord == _records.Length) 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, 213ScopeFlags flags = GetName(ref _records[record], out recPrefix, out recNsUri); 254ScopeFlags flags = GetName(ref _records[record], out recPrefix, out recNsUri); 278GetName(ref _records[prev], out prevPrefix, out _); 305ScopeFlags flags = GetName(ref _records[record], out recLocal, out recNsUri); 322return (record < 0) ? default(V) : _records[record].value; 330if (_records[record].scopeCount != 0) 340get { return (_records[_lastRecord].flags & ScopeFlags.ForwardCompatibility) != 0; } 346get { return (_records[_lastRecord].flags & ScopeFlags.BackwardCompatibility) != 0; } 352get { return (_records[_lastRecord].flags & ScopeFlags.CanHaveApplyImports) != 0; } 362if (_records[currentRecord].IsNamespace) 365if (LookupNamespace(_records[currentRecord].ncName!, _lastRecord, currentRecord + 1) != null) 371yield return _records[currentRecord]; 397if (_scope._records[_currentRecord].IsNamespace) 400if (_scope.LookupNamespace(_scope._records[_currentRecord].ncName!, _lastRecord, _currentRecord + 1) == null) 415Debug.Assert(_scope._records[_currentRecord].IsNamespace); 416return _scope._records[_currentRecord];