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