1 write to _reader
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Core\ReadContentAsBinaryHelper.cs (1)
42
_reader
= reader;
58 references to _reader
dotnet-svcutil-lib (58)
FrameworkFork\Microsoft.Xml\Xml\Core\ReadContentAsBinaryHelper.cs (29)
90
if (!
_reader
.CanReadContentAs())
92
throw
_reader
.CreateReadContentAsException("ReadContentAsBase64");
146
if (!
_reader
.CanReadContentAs())
148
throw
_reader
.CreateReadContentAsException("ReadContentAsBinHex");
202
if (
_reader
.NodeType != XmlNodeType.Element)
204
throw
_reader
.CreateReadElementContentAsException("ReadElementContentAsBase64");
258
if (
_reader
.NodeType != XmlNodeType.Element)
260
throw
_reader
.CreateReadElementContentAsException("ReadElementContentAsBinHex");
299
if (
_reader
.NodeType != XmlNodeType.EndElement)
301
throw new XmlException(ResXml.Xml_InvalidNodeType,
_reader
.NodeType.ToString(),
_reader
as IXmlLineInfo);
304
_reader
.Read();
333
Debug.Assert(
_reader
.NodeType == XmlNodeType.Element);
334
bool isEmpty =
_reader
.IsEmptyElement;
337
_reader
.Read();
346
if (
_reader
.NodeType != XmlNodeType.EndElement)
348
throw new XmlException(ResXml.Xml_InvalidNodeType,
_reader
.NodeType.ToString(),
_reader
as IXmlLineInfo);
351
_reader
.Read();
413
if ((_valueChunkLength =
_reader
.ReadValueChunk(_valueChunk, 0, ChunkSize)) == 0)
423
string value =
_reader
.Value;
458
if (
_reader
.NodeType != XmlNodeType.EndElement)
460
throw new XmlException(ResXml.Xml_InvalidNodeType,
_reader
.NodeType.ToString(),
_reader
as IXmlLineInfo);
464
_reader
.Read();
473
switch (
_reader
.NodeType)
492
if (
_reader
.CanResolveEntity)
494
_reader
.ResolveEntity();
502
} while (
_reader
.Read());
FrameworkFork\Microsoft.Xml\Xml\Core\ReadContentAsBinaryHelperAsync.cs (29)
40
if (!
_reader
.CanReadContentAs())
42
throw
_reader
.CreateReadContentAsException("ReadContentAsBase64");
96
if (!
_reader
.CanReadContentAs())
98
throw
_reader
.CreateReadContentAsException("ReadContentAsBinHex");
152
if (
_reader
.NodeType != XmlNodeType.Element)
154
throw
_reader
.CreateReadElementContentAsException("ReadElementContentAsBase64");
208
if (
_reader
.NodeType != XmlNodeType.Element)
210
throw
_reader
.CreateReadElementContentAsException("ReadElementContentAsBinHex");
249
if (
_reader
.NodeType != XmlNodeType.EndElement)
251
throw new XmlException(ResXml.Xml_InvalidNodeType,
_reader
.NodeType.ToString(),
_reader
as IXmlLineInfo);
254
await
_reader
.ReadAsync().ConfigureAwait(false);
276
Debug.Assert(
_reader
.NodeType == XmlNodeType.Element);
277
bool isEmpty =
_reader
.IsEmptyElement;
280
await
_reader
.ReadAsync().ConfigureAwait(false);
289
if (
_reader
.NodeType != XmlNodeType.EndElement)
291
throw new XmlException(ResXml.Xml_InvalidNodeType,
_reader
.NodeType.ToString(),
_reader
as IXmlLineInfo);
294
await
_reader
.ReadAsync().ConfigureAwait(false);
330
if ((_valueChunkLength = await
_reader
.ReadValueChunkAsync(_valueChunk, 0, ChunkSize).ConfigureAwait(false)) == 0)
340
string value = await
_reader
.GetValueAsync().ConfigureAwait(false);
375
if (
_reader
.NodeType != XmlNodeType.EndElement)
377
throw new XmlException(ResXml.Xml_InvalidNodeType,
_reader
.NodeType.ToString(),
_reader
as IXmlLineInfo);
381
await
_reader
.ReadAsync().ConfigureAwait(false);
390
switch (
_reader
.NodeType)
409
if (
_reader
.CanResolveEntity)
411
_reader
.ResolveEntity();
419
} while (await
_reader
.ReadAsync().ConfigureAwait(false));