4 writes to _reader
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (4)
33
_reader
= ((XmlTextReader)reader).Impl;
37
_reader
= reader;
75
_reader
= reader;
760
_reader
= CreateInnerXmlReader(innerxmltext, nt, pc, _doc);
52 references to _reader
dotnet-svcutil-lib (52)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (52)
50
if (
_reader
.ReadState != ReadState.Interactive)
52
if (!
_reader
.Read())
61
Debug.Assert(
_reader
!= null);
67
if (!
_reader
.Read())
102
XmlReader r =
_reader
;
256
Debug.Assert(
_reader
.NodeType == XmlNodeType.Attribute);
258
XmlReader r =
_reader
;
304
Debug.Assert(
_reader
.IsDefault);
306
XmlReader r =
_reader
;
326
XmlReader r =
_reader
;
338
node = direct ? new XmlEntityReference(
_reader
.LocalName, _doc) : _doc.CreateEntityReference(
_reader
.LocalName);
362
Debug.Assert(
_reader
.NodeType == XmlNodeType.EntityReference);
363
XmlEntityReference eref = direct ? new XmlEntityReference(
_reader
.Name, _doc) : _doc.CreateEntityReference(
_reader
.Name);
364
if (
_reader
.CanResolveEntity)
366
_reader
.ResolveEntity();
367
while (
_reader
.Read() &&
_reader
.NodeType != XmlNodeType.EndEntity)
385
Debug.Assert(
_reader
.NodeType == XmlNodeType.XmlDeclaration);
394
while (
_reader
.MoveToNextAttribute())
396
switch (
_reader
.Name)
399
version =
_reader
.Value;
402
encoding =
_reader
.Value;
405
standalone =
_reader
.Value;
416
ParseXmlDeclarationValue(
_reader
.Value, out version, out encoding, out standalone);
423
Debug.Assert(
_reader
.NodeType == XmlNodeType.DocumentType);
427
String internalSubset =
_reader
.Value;
428
String localName =
_reader
.LocalName;
429
while (
_reader
.MoveToNextAttribute())
431
switch (
_reader
.Name)
434
publicId =
_reader
.Value;
437
systemId =
_reader
.Value;
444
IDtdInfo dtdInfo =
_reader
.DtdInfo;
462
XmlReader r =
_reader
;
470
bool fEmptyElement =
_reader
.IsEmptyElement;
471
XmlElement element = new XmlElement(
_reader
.Prefix,
_reader
.LocalName,
_reader
.NamespaceURI, _doc);
474
if (
_reader
.MoveToFirstAttribute())
518
node = new XmlSignificantWhitespace(
_reader
.Value, _doc);
524
node = new XmlWhitespace(
_reader
.Value, _doc);
533
node = new XmlText(
_reader
.Value, _doc);
537
node = new XmlCDataSection(
_reader
.Value, _doc);
541
node = new XmlProcessingInstruction(
_reader
.Name,
_reader
.Value, _doc);
545
node = new XmlComment(
_reader
.Value, _doc);
549
throw UnexpectedNodeType(
_reader
.NodeType);
569
XmlReader r =
_reader
;
770
while (
_reader
.Read() && (node = LoadNodeDirect()) != null)
778
while (
_reader
.Read() && (node = LoadNode(true)) != null)
787
_reader
.Close();