4 writes to _reader
System.Private.Xml (4)
System\Xml\Dom\XmlLoader.cs (4)
29
_reader
= ((XmlTextReader)reader).Impl;
33
_reader
= reader;
71
_reader
= reader;
753
_reader
= CreateInnerXmlReader(innerxmltext, nt, pc, _doc);
52 references to _reader
System.Private.Xml (52)
System\Xml\Dom\XmlLoader.cs (52)
46
if (
_reader
.ReadState != ReadState.Interactive)
48
if (!
_reader
.Read())
57
Debug.Assert(
_reader
!= null);
63
if (!
_reader
.Read())
99
XmlReader r =
_reader
!;
251
Debug.Assert(
_reader
!.NodeType == XmlNodeType.Attribute);
253
XmlReader r =
_reader
;
301
Debug.Assert(
_reader
!.IsDefault);
303
XmlReader r =
_reader
;
322
XmlReader r =
_reader
!;
334
node = direct ? new XmlEntityReference(
_reader
!.LocalName, _doc!) : _doc!.CreateEntityReference(
_reader
!.LocalName);
358
Debug.Assert(
_reader
!.NodeType == XmlNodeType.EntityReference);
359
XmlEntityReference eref = direct ? new XmlEntityReference(
_reader
.Name, _doc!) : _doc!.CreateEntityReference(
_reader
.Name);
360
if (
_reader
.CanResolveEntity)
362
_reader
.ResolveEntity();
363
while (
_reader
.Read() &&
_reader
.NodeType != XmlNodeType.EndEntity)
381
Debug.Assert(
_reader
!.NodeType == XmlNodeType.XmlDeclaration);
390
while (
_reader
.MoveToNextAttribute())
392
switch (
_reader
.Name)
395
version =
_reader
.Value;
398
encoding =
_reader
.Value;
401
standalone =
_reader
.Value;
412
ParseXmlDeclarationValue(
_reader
.Value, out version, out encoding, out standalone);
419
Debug.Assert(
_reader
!.NodeType == XmlNodeType.DocumentType);
423
string internalSubset =
_reader
.Value;
424
string localName =
_reader
.LocalName;
425
while (
_reader
.MoveToNextAttribute())
427
switch (
_reader
.Name)
430
publicId =
_reader
.Value;
433
systemId =
_reader
.Value;
440
IDtdInfo? dtdInfo =
_reader
.DtdInfo;
458
XmlReader r =
_reader
!;
466
bool fEmptyElement =
_reader
!.IsEmptyElement;
467
XmlElement element = new XmlElement(
_reader
.Prefix,
_reader
.LocalName,
_reader
.NamespaceURI, _doc!);
470
if (
_reader
.MoveToFirstAttribute())
515
node = new XmlSignificantWhitespace(
_reader
!.Value, _doc!);
521
node = new XmlWhitespace(
_reader
!.Value, _doc!);
530
node = new XmlText(
_reader
!.Value, _doc!);
534
node = new XmlCDataSection(
_reader
!.Value, _doc!);
538
node = new XmlProcessingInstruction(
_reader
!.Name,
_reader
.Value, _doc!);
542
node = new XmlComment(
_reader
!.Value, _doc!);
546
throw UnexpectedNodeType(
_reader
!.NodeType);
566
XmlReader r =
_reader
!;
763
while (
_reader
.Read() && (node = LoadNodeDirect()) != null)
771
while (
_reader
.Read() && (node = LoadNode(true)) != null)
781
_reader
.Close();