2 writes to reader
System.ServiceModel (2)
System\ServiceModel\Dispatcher\StreamFormatter.cs (2)
255
reader
= message.GetReaderAtBodyContents();
324
reader
= null;
12 references to reader
System.ServiceModel (12)
System\ServiceModel\Dispatcher\StreamFormatter.cs (12)
253
if (
reader
== null)
258
reader
.MoveToContent();
259
reader
.ReadStartElement(wrapperName, wrapperNs);
261
reader
.MoveToContent();
262
if (
reader
.NodeType == XmlNodeType.EndElement)
267
reader
.ReadStartElement(elementName, elementNs);
269
if (
reader
.MoveToContent() != XmlNodeType.Text)
271
Exhaust(
reader
);
274
int bytesRead =
reader
.ReadContentAsBase64(buffer, offset, count);
278
Exhaust(
reader
);
321
if (
reader
!= null)
323
reader
.Close();