2 writes to _xmlReader
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlStream.cs (2)
478
_xmlReader
= null;
492
_xmlReader
= sqlStream.ToXmlReader();
24 references to _xmlReader
System.Data (24)
fx\src\data\System\Data\SqlClient\SqlStream.cs (24)
476
((IDisposable)
_xmlReader
).Dispose();
490
if (
_xmlReader
== null) {
516
while (!
_xmlReader
.EOF) {
561
if (
_xmlReader
.EOF)
564
bool canReadChunk =
_xmlReader
.CanReadValueChunk;
570
_xmlReader
.Read();
571
switch (
_xmlReader
.NodeType) {
573
_xmlWriter.WriteStartElement(
_xmlReader
.Prefix,
_xmlReader
.LocalName,
_xmlReader
.NamespaceURI);
574
_xmlWriter.WriteAttributes(
_xmlReader
, true);
575
if (
_xmlReader
.IsEmptyElement) {
586
while ((read =
_xmlReader
.ReadValueChunk(writeNodeBuffer, 0, WriteNodeBufferSize)) > 0) {
591
_xmlWriter.WriteString(
_xmlReader
.Value);
596
_xmlWriter.WriteWhitespace(
_xmlReader
.Value);
599
_xmlWriter.WriteCData(
_xmlReader
.Value);
602
_xmlWriter.WriteEntityRef(
_xmlReader
.Name);
606
_xmlWriter.WriteProcessingInstruction(
_xmlReader
.Name,
_xmlReader
.Value);
609
_xmlWriter.WriteDocType(
_xmlReader
.Name,
_xmlReader
.GetAttribute("PUBLIC"),
_xmlReader
.GetAttribute("SYSTEM"),
_xmlReader
.Value);
612
_xmlWriter.WriteComment(
_xmlReader
.Value);