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