1 write to _reader
System.Private.Xml (1)
System\Xml\Xsl\Xslt\XsltInput.cs (1)
49_reader = reader;
64 references to _reader
System.Private.Xml (64)
System\Xml\Xsl\Xslt\XsltInput.cs (64)
101if (_reader.ReadState != ReadState.Interactive) 112if (_reader.ReadState == ReadState.Interactive) 115IXmlNamespaceResolver? nsResolver = _reader as IXmlNamespaceResolver; 159while (_reader.ReadState == ReadState.Interactive) 161_reader.Skip(); 168rec.localName = _reader.LocalName; 169rec.nsUri = _reader.NamespaceURI; 170rec.prefix = _reader.Prefix; 171rec.value = _reader.Value; 172rec.baseUri = _reader.BaseURI; 183rec.start = new Location(_readerLineInfo.LineNumber, _readerLineInfo.LinePosition - PositionAdjustment(_reader.NodeType)); 191rec.end = new Location(_readerLineInfo.LineNumber, _readerLineInfo.LinePosition - PositionAdjustment(_reader.NodeType)); 192if (_reader.BaseURI != rec.baseUri || rec.end.LessOrEqual(rec.start)) 202_reader.NodeType == XmlNodeType.Whitespace || _reader.NodeType == XmlNodeType.SignificantWhitespace || 203_reader.NodeType == XmlNodeType.Text || _reader.NodeType == XmlNodeType.CDATA 208rec.value = _reader.Value; 209rec.baseUri = _reader.BaseURI; 213bool isCDATA = (_reader.NodeType == XmlNodeType.CDATA); 244Debug.Assert(_reader.NodeType == XmlNodeType.EntityReference); 245string local = _reader.LocalName; 250rec.baseUri = _reader.BaseURI; 256_reader.ResolveEntity(); 257_reader.Read(); 258Debug.Assert(_reader.NodeType == XmlNodeType.Text || _reader.NodeType == XmlNodeType.Whitespace || _reader.NodeType == XmlNodeType.SignificantWhitespace); 259rec.value = _reader.Value; 260_reader.Read(); 261Debug.Assert(_reader.NodeType == XmlNodeType.EndEntity); 273Debug.Assert(_reader.NodeType == XmlNodeType.Attribute, "reader.NodeType == XmlNodeType.Attribute"); 277string atomizedValue = _atoms.NameTable.Add(_reader.Value); 287string atomizedValue = _atoms.NameTable.Add(_reader.Value); 294if (!_reader.ReadAttributeValue()) 303int correction = (_reader.NodeType == XmlNodeType.EntityReference) ? -2 : -1; 305if (_reader.BaseURI != rec.baseUri || rec.valueStart.LessOrEqual(rec.start)) 315switch (_reader.NodeType) 318_reader.ResolveEntity(); 323Debug.Assert(_reader.NodeType == XmlNodeType.Text, "Unexpected node type inside attribute value"); 324lastText = _reader.Value; 328} while (_reader.ReadAttributeValue()); 332Debug.Assert(_reader.NodeType != XmlNodeType.EntityReference); 333int correction = ((_reader.NodeType == XmlNodeType.EndEntity) ? 1 : lastText.Length) + 1; 335if (_reader.BaseURI != rec.baseUri || rec.end.LessOrEqual(rec.valueStart)) 379bool textPreserveWS = _reader.XmlSpace == XmlSpace.Preserve; 384switch (_reader.NodeType) 389if (textIsWhite && !XmlCharType.IsOnlyWhitespace(_reader.Value)) 398_reader.Read(); 402string local = _reader.LocalName; 419_reader.ResolveEntity(); 420_reader.Read(); 424_reader.Read(); 450while (!_reader.EOF) 452switch (_reader.NodeType) 475_reader.Read(); 479_reader.Read(); 488Debug.Assert(_reader.NodeType == XmlNodeType.Element); 493_isEmptyElement = _reader.IsEmptyElement; 497if (_reader.MoveToFirstAttribute()) 506} while (_reader.MoveToNextAttribute()); 507_reader.MoveToElement(); 509_reader.Read(); 1089return new SourceLineInfo(_reader.BaseURI!, loc, loc);