35 references to XmlException
System.Private.Xml (35)
System\Xml\Core\ReadContentAsBinaryHelper.cs (3)
244
throw new
XmlException
(SR.Xml_InvalidNodeType, _reader.NodeType.ToString(), _reader as IXmlLineInfo);
291
throw new
XmlException
(SR.Xml_InvalidNodeType, _reader.NodeType.ToString(), _reader as IXmlLineInfo);
403
throw new
XmlException
(SR.Xml_InvalidNodeType, _reader.NodeType.ToString(), _reader as IXmlLineInfo);
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (3)
199
throw new
XmlException
(SR.Xml_InvalidNodeType, _reader.NodeType.ToString(), _reader as IXmlLineInfo);
239
throw new
XmlException
(SR.Xml_InvalidNodeType, _reader.NodeType.ToString(), _reader as IXmlLineInfo);
325
throw new
XmlException
(SR.Xml_InvalidNodeType, _reader.NodeType.ToString(), _reader as IXmlLineInfo);
System\Xml\Core\XmlCharCheckingReader.cs (1)
581
throw new
XmlException
(res, arg, (IXmlLineInfo?)null);
System\Xml\Core\XmlReader.cs (13)
750
throw new
XmlException
(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
760
throw new
XmlException
(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
768
throw new
XmlException
(SR.Xml_ElementNotFound, name, this as IXmlLineInfo);
778
throw new
XmlException
(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
798
throw new
XmlException
(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
825
throw new
XmlException
(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
829
throw new
XmlException
(SR.Xml_ElementNotFound, name, this as IXmlLineInfo);
838
throw new
XmlException
(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
857
throw new
XmlException
(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
870
throw new
XmlException
(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
887
throw new
XmlException
(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
1417
throw new
XmlException
(SR.Xml_InvalidNodeType, NodeType.ToString(), this as IXmlLineInfo);
1539
throw new
XmlException
(SR.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo);
System\Xml\Core\XmlReaderAsync.cs (1)
393
throw new
XmlException
(SR.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo);
System\Xml\Core\XmlSubtreeReader.cs (4)
933
throw new
XmlException
(SR.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo);
1070
throw new
XmlException
(SR.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo);
1391
throw new
XmlException
(SR.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo);
1420
throw new
XmlException
(SR.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo);
System\Xml\Core\XmlSubtreeReaderAsync.cs (4)
339
throw new
XmlException
(SR.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo);
476
throw new
XmlException
(SR.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo);
575
throw new
XmlException
(SR.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo);
604
throw new
XmlException
(SR.Xml_InvalidNodeType, reader.NodeType.ToString(), reader as IXmlLineInfo);
System\Xml\Core\XmlTextReaderImpl.cs (1)
9458
throw new
XmlException
(SR.Xml_InvalidNodeType, _curNode.type.ToString(), this as IXmlLineInfo);
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
5467
throw new
XmlException
(SR.Xml_InvalidNodeType, _curNode.type.ToString(), this as IXmlLineInfo);
System\Xml\Core\XsdValidatingReader.cs (2)
2494
throw new
XmlException
(SR.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo);
2503
throw new
XmlException
(SR.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo);
System\Xml\Core\XsdValidatingReaderAsync.cs (2)
829
throw new
XmlException
(SR.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo);
841
throw new
XmlException
(SR.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo);