4 writes to reader
System.Xml (4)
System\Xml\Dom\XmlLoader.cs (4)
29
this.
reader
= ((XmlTextReader)reader).Impl;
32
this.
reader
= reader;
65
this.
reader
= reader;
662
this.
reader
= CreateInnerXmlReader( innerxmltext, nt, pc, this.doc );
52 references to reader
System.Xml (52)
System\Xml\Dom\XmlLoader.cs (52)
44
if ( this.
reader
.ReadState != ReadState.Interactive ) {
45
if ( !this.
reader
.Read() )
53
Debug.Assert( this.
reader
!= null );
58
if ( !this.
reader
.Read() )
89
XmlReader r = this.
reader
;
223
Debug.Assert(
reader
.NodeType == XmlNodeType.Attribute);
225
XmlReader r =
reader
;
264
Debug.Assert(
reader
.IsDefault );
266
XmlReader r =
reader
;
284
XmlReader r =
reader
;
294
node = direct ? new XmlEntityReference(
reader
.LocalName, doc ) : doc.CreateEntityReference(
reader
.LocalName );
315
Debug.Assert(
reader
.NodeType == XmlNodeType.EntityReference );
316
XmlEntityReference eref = direct ? new XmlEntityReference(
reader
.Name, this.doc ) : doc.CreateEntityReference(
reader
.Name );
317
if (
reader
.CanResolveEntity ) {
318
reader
.ResolveEntity();
319
while (
reader
.Read() &&
reader
.NodeType != XmlNodeType.EndEntity ) {
334
Debug.Assert(
reader
.NodeType == XmlNodeType.XmlDeclaration );
343
while(
reader
.MoveToNextAttribute()) {
344
switch (
reader
.Name) {
346
version =
reader
.Value;
349
encoding =
reader
.Value;
352
standalone =
reader
.Value;
363
ParseXmlDeclarationValue(
reader
.Value, out version, out encoding, out standalone );
369
Debug.Assert(
reader
.NodeType == XmlNodeType.DocumentType );
373
String internalSubset =
reader
.Value;
374
String localName =
reader
.LocalName;
375
while (
reader
.MoveToNextAttribute()) {
376
switch (
reader
.Name) {
378
publicId =
reader
.Value;
381
systemId =
reader
.Value;
388
IDtdInfo dtdInfo =
reader
.DtdInfo;
404
XmlReader r = this.
reader
;
410
bool fEmptyElement =
reader
.IsEmptyElement;
411
XmlElement element = new XmlElement(
reader
.Prefix,
reader
.LocalName,
reader
.NamespaceURI, this.doc );
414
if (
reader
.MoveToFirstAttribute() ) {
453
node = new XmlSignificantWhitespace(
reader
.Value, this.doc );
458
node = new XmlWhitespace(
reader
.Value, this.doc );
466
node = new XmlText(
reader
.Value, this.doc );
470
node = new XmlCDataSection(
reader
.Value, this.doc );
474
node = new XmlProcessingInstruction(
reader
.Name,
reader
.Value, this.doc );
478
node = new XmlComment(
reader
.Value, this.doc );
482
throw UnexpectedNodeType(
reader
.NodeType );
499
XmlReader r =
reader
;
670
while (
reader
.Read() && ( node = LoadNodeDirect() ) != null ) {
676
while (
reader
.Read() && ( node = LoadNode(true) ) != null ) {
683
this.
reader
.Close();