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