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