20 references to ArgumentException
System.Private.Xml (20)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3451
XmlConvert.VerifyCharData(val, ExceptionType.
ArgumentException
, ExceptionType.XmlException);
System\Xml\Core\XmlCharCheckingReader.cs (1)
623
XmlConvert.VerifyCharData(value, ExceptionType.
ArgumentException
, ExceptionType.XmlException);
System\Xml\Core\XmlCharCheckingWriter.cs (2)
327
XmlConvert.VerifyCharData(str, ExceptionType.
ArgumentException
);
332
XmlConvert.VerifyCharData(data, offset, len, ExceptionType.
ArgumentException
);
System\Xml\Core\XmlWriter.cs (2)
216
WriteString(XmlConvert.VerifyNMTOKEN(name, ExceptionType.
ArgumentException
));
223
WriteString(XmlConvert.VerifyQName(name, ExceptionType.
ArgumentException
));
System\Xml\Core\XmlWriterAsync.cs (2)
202
return WriteStringAsync(XmlConvert.VerifyNMTOKEN(name, ExceptionType.
ArgumentException
));
209
return WriteStringAsync(XmlConvert.VerifyQName(name, ExceptionType.
ArgumentException
));
System\Xml\Dom\DocumentXmlWriter.cs (5)
283
XmlConvert.VerifyCharData(text, ExceptionType.
ArgumentException
);
291
XmlConvert.VerifyCharData(text, ExceptionType.
ArgumentException
);
299
XmlConvert.VerifyCharData(text, ExceptionType.
ArgumentException
);
320
XmlConvert.VerifyCharData(text, ExceptionType.
ArgumentException
);
331
XmlConvert.VerifyCharData(text, ExceptionType.
ArgumentException
);
System\Xml\XmlConvert.cs (7)
1533
case ExceptionType.
ArgumentException
:
1550
case ExceptionType.
ArgumentException
:
1567
case ExceptionType.
ArgumentException
:
1577
return CreateInvalidSurrogatePairException(low, hi, ExceptionType.
ArgumentException
);
1596
return CreateInvalidHighSurrogateCharException(hi, ExceptionType.
ArgumentException
);
1616
return CreateInvalidCharException(data, invCharPos, ExceptionType.
ArgumentException
);
1626
return CreateInvalidCharException(invChar, nextChar, ExceptionType.
ArgumentException
);