21 references to ArgumentException
System.Xml (21)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3055
XmlConvert.VerifyCharData(val, ExceptionType.
ArgumentException
, ExceptionType.XmlException);
System\Xml\Core\XmlCharCheckingReader.cs (1)
554
XmlConvert.VerifyCharData( value, ExceptionType.
ArgumentException
, ExceptionType.XmlException );
System\Xml\Core\XmlCharCheckingWriter.cs (2)
295
XmlConvert.VerifyCharData( str, ExceptionType.
ArgumentException
);
299
XmlConvert.VerifyCharData( data, offset, len, ExceptionType.
ArgumentException
);
System\Xml\Core\XmlWriter.cs (2)
232
WriteString(XmlConvert.VerifyNMTOKEN(name, ExceptionType.
ArgumentException
));
238
WriteString(XmlConvert.VerifyQName(name, ExceptionType.
ArgumentException
));
System\Xml\Core\XmlWriterAsync.cs (2)
188
return WriteStringAsync(XmlConvert.VerifyNMTOKEN(name, ExceptionType.
ArgumentException
));
194
return WriteStringAsync(XmlConvert.VerifyQName(name, ExceptionType.
ArgumentException
));
System\Xml\Dom\DocumentXmlWriter.cs (5)
241
XmlConvert.VerifyCharData(text, ExceptionType.
ArgumentException
);
248
XmlConvert.VerifyCharData(text, ExceptionType.
ArgumentException
);
255
XmlConvert.VerifyCharData(text, ExceptionType.
ArgumentException
);
273
XmlConvert.VerifyCharData(text, ExceptionType.
ArgumentException
);
282
XmlConvert.VerifyCharData(text, ExceptionType.
ArgumentException
);
System\Xml\XmlConvert.cs (8)
1593
case ExceptionType.
ArgumentException
:
1607
case ExceptionType.
ArgumentException
:
1621
case ExceptionType.
ArgumentException
:
1630
return CreateInvalidSurrogatePairException( low, hi, ExceptionType.
ArgumentException
);
1646
return CreateInvalidHighSurrogateCharException( hi, ExceptionType.
ArgumentException
);
1658
return CreateInvalidCharException(data, length, invCharPos, ExceptionType.
ArgumentException
);
1666
return CreateInvalidCharException( data, invCharPos, ExceptionType.
ArgumentException
);
1674
return CreateInvalidCharException(invChar, nextChar, ExceptionType.
ArgumentException
);