104 references to XmlException
System.Private.Xml (104)
System\Xml\BinaryXml\XmlBinaryReader.cs (26)
1130throw new XmlException(SR.Xml_ReadContentAsFormatException, "Boolean", e, null); 1134throw new XmlException(SR.Xml_ReadContentAsFormatException, "Boolean", e, null); 1220throw new XmlException(SR.Xml_ReadContentAsFormatException, "DateTime", e, null); 1224throw new XmlException(SR.Xml_ReadContentAsFormatException, "DateTime", e, null); 1228throw new XmlException(SR.Xml_ReadContentAsFormatException, "DateTime", e, null); 1315throw new XmlException(SR.Xml_ReadContentAsFormatException, "Double", e, null); 1319throw new XmlException(SR.Xml_ReadContentAsFormatException, "Double", e, null); 1323throw new XmlException(SR.Xml_ReadContentAsFormatException, "Double", e, null); 1410throw new XmlException(SR.Xml_ReadContentAsFormatException, "Float", e, null); 1414throw new XmlException(SR.Xml_ReadContentAsFormatException, "Float", e, null); 1418throw new XmlException(SR.Xml_ReadContentAsFormatException, "Float", e, null); 1505throw new XmlException(SR.Xml_ReadContentAsFormatException, "Decimal", e, null); 1509throw new XmlException(SR.Xml_ReadContentAsFormatException, "Decimal", e, null); 1513throw new XmlException(SR.Xml_ReadContentAsFormatException, "Decimal", e, null); 1600throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int32", e, null); 1604throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int32", e, null); 1608throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int32", e, null); 1695throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int64", e, null); 1699throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int64", e, null); 1703throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int64", e, null); 1735throw new XmlException(SR.Xml_ReadContentAsFormatException, "Object", e, null); 1739throw new XmlException(SR.Xml_ReadContentAsFormatException, "Object", e, null); 1743throw new XmlException(SR.Xml_ReadContentAsFormatException, "Object", e, null); 1782throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, null); 1786throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, null); 1790throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, null);
System\Xml\Core\XmlReader.cs (10)
167throw new XmlException(SR.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 186throw new XmlException(SR.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 205throw new XmlException(SR.Xml_ReadContentAsFormatException, "DateTimeOffset", e, this as IXmlLineInfo); 224throw new XmlException(SR.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 243throw new XmlException(SR.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 262throw new XmlException(SR.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 281throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 300throw new XmlException(SR.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 337throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 341throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo);
System\Xml\Core\XmlReaderAsync.cs (2)
65throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 69throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo);
System\Xml\Core\XsdValidatingReader.cs (54)
478throw new XmlException(SR.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 482throw new XmlException(SR.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 486throw new XmlException(SR.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 512throw new XmlException(SR.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 516throw new XmlException(SR.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 520throw new XmlException(SR.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 546throw new XmlException(SR.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 550throw new XmlException(SR.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 554throw new XmlException(SR.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 580throw new XmlException(SR.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 584throw new XmlException(SR.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 588throw new XmlException(SR.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 614throw new XmlException(SR.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 618throw new XmlException(SR.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 622throw new XmlException(SR.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 648throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 652throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 656throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 683throw new XmlException(SR.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 687throw new XmlException(SR.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 691throw new XmlException(SR.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 718throw new XmlException(SR.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 722throw new XmlException(SR.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 726throw new XmlException(SR.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 760throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 764throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 768throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 806throw new XmlException(SR.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 810throw new XmlException(SR.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 814throw new XmlException(SR.Xml_ReadContentAsFormatException, "Boolean", e, this as IXmlLineInfo); 841throw new XmlException(SR.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 845throw new XmlException(SR.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 849throw new XmlException(SR.Xml_ReadContentAsFormatException, "DateTime", e, this as IXmlLineInfo); 876throw new XmlException(SR.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 880throw new XmlException(SR.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 884throw new XmlException(SR.Xml_ReadContentAsFormatException, "Double", e, this as IXmlLineInfo); 911throw new XmlException(SR.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 915throw new XmlException(SR.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 919throw new XmlException(SR.Xml_ReadContentAsFormatException, "Float", e, this as IXmlLineInfo); 946throw new XmlException(SR.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 950throw new XmlException(SR.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 954throw new XmlException(SR.Xml_ReadContentAsFormatException, "Decimal", e, this as IXmlLineInfo); 981throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 985throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 989throw new XmlException(SR.Xml_ReadContentAsFormatException, "Int", e, this as IXmlLineInfo); 1016throw new XmlException(SR.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 1020throw new XmlException(SR.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 1024throw new XmlException(SR.Xml_ReadContentAsFormatException, "Long", e, this as IXmlLineInfo); 1051throw new XmlException(SR.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 1055throw new XmlException(SR.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 1059throw new XmlException(SR.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 1094throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 1098throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 1102throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo);
System\Xml\Core\XsdValidatingReaderAsync.cs (12)
63throw new XmlException(SR.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 67throw new XmlException(SR.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 71throw new XmlException(SR.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 110throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 114throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 118throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 162throw new XmlException(SR.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 166throw new XmlException(SR.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 170throw new XmlException(SR.Xml_ReadContentAsFormatException, "String", e, this as IXmlLineInfo); 210throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 214throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo); 218throw new XmlException(SR.Xml_ReadContentAsFormatException, returnType.ToString(), e, this as IXmlLineInfo);