2 writes to reader
System.Data.Services.Client (2)
System\Data\Services\Client\MaterializeFromAtom.cs (2)
110
this.
reader
= (reader == null) ? null : new System.Data.Services.Client.Xml.XmlAtomErrorReader(reader);
529
this.
reader
= new System.Data.Services.Client.Xml.XmlAtomErrorReader(element.CreateReader());
15 references to reader
System.Data.Services.Client (15)
System\Data\Services\Client\MaterializeFromAtom.cs (15)
123
this.parser = new AtomParser(this.
reader
, AtomParser.XElementBuilderCallback, typeScheme, context.DataNamespace);
194
get { return this.
reader
== null; }
213
if (null != this.
reader
)
215
((IDisposable)this.
reader
).Dispose();
281
if (this.
reader
== null)
486
while (this.
reader
.NodeType != XmlNodeType.Element && this.
reader
.Read())
490
if (this.
reader
.EOF)
497
(Util.AreSame(XmlConstants.AtomNamespace, this.
reader
.NamespaceURI) &&
498
Util.AreSame(XmlConstants.AtomFeedElementName, this.
reader
.LocalName)) ||
499
(Util.AreSame(XmlConstants.DataWebNamespace, this.
reader
.NamespaceURI) &&
500
Util.AreSame(XmlConstants.LinkCollectionElementName, this.
reader
.LocalName)),
506
XElement element = XElement.Load(this.
reader
);
507
this.
reader
.Close();
530
this.parser.ReplaceReader(this.
reader
);