54 references to ExceptionType
dotnet-svcutil-lib (54)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (3)
3468
XmlConvert.VerifyCharData(val,
ExceptionType
.ArgumentException,
ExceptionType
.XmlException);
3546
throw XmlConvert.CreateInvalidCharException(ch, '\0',
ExceptionType
.XmlException);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingReader.cs (2)
662
XmlConvert.VerifyCharData(value,
ExceptionType
.ArgumentException,
ExceptionType
.XmlException);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingWriter.cs (3)
337
XmlConvert.VerifyQName(name,
ExceptionType
.XmlException);
357
XmlConvert.VerifyCharData(str,
ExceptionType
.ArgumentException);
362
XmlConvert.VerifyCharData(data, offset, len,
ExceptionType
.ArgumentException);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (1)
383
XmlConvert.VerifyQName(name,
ExceptionType
.XmlException);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriter.cs (2)
245
WriteString(XmlConvert.VerifyNMTOKEN(name,
ExceptionType
.ArgumentException));
252
WriteString(XmlConvert.VerifyQName(name,
ExceptionType
.ArgumentException));
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXmlWriter.cs (5)
284
XmlConvert.VerifyCharData(text,
ExceptionType
.ArgumentException);
292
XmlConvert.VerifyCharData(text,
ExceptionType
.ArgumentException);
300
XmlConvert.VerifyCharData(text,
ExceptionType
.ArgumentException);
321
XmlConvert.VerifyCharData(text,
ExceptionType
.ArgumentException);
332
XmlConvert.VerifyCharData(text,
ExceptionType
.ArgumentException);
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (38)
371
throw CreateInvalidNameCharException(name, endPos,
ExceptionType
.XmlException);
394
return VerifyQName(name,
ExceptionType
.XmlException);
397
internal static unsafe string VerifyQName(string name,
ExceptionType
exceptionType)
421
return VerifyNCName(name,
ExceptionType
.XmlException);
424
internal static string VerifyNCName(string name,
ExceptionType
exceptionType)
495
return VerifyNMTOKEN(name,
ExceptionType
.XmlException);
498
internal static string VerifyNMTOKEN(string name,
ExceptionType
exceptionType)
559
VerifyCharData(content,
ExceptionType
.XmlException);
576
throw CreateInvalidCharException(publicId, pos,
ExceptionType
.XmlException);
1618
internal static void VerifyCharData(string data,
ExceptionType
exceptionType)
1623
internal static unsafe void VerifyCharData(string data,
ExceptionType
invCharExceptionType,
ExceptionType
invSurrogateExceptionType)
1665
internal static unsafe void VerifyCharData(char[] data, int offset, int len,
ExceptionType
exceptionType)
1758
internal static Exception CreateException(string res,
ExceptionType
exceptionType)
1763
internal static Exception CreateException(string res,
ExceptionType
exceptionType, int lineNo, int linePos)
1767
case
ExceptionType
.ArgumentException:
1769
case
ExceptionType
.XmlException:
1775
internal static Exception CreateException(string res, string arg,
ExceptionType
exceptionType)
1780
internal static Exception CreateException(string res, string arg,
ExceptionType
exceptionType, int lineNo, int linePos)
1784
case
ExceptionType
.ArgumentException:
1786
case
ExceptionType
.XmlException:
1792
internal static Exception CreateException(string res, string[] args,
ExceptionType
exceptionType)
1797
internal static Exception CreateException(string res, string[] args,
ExceptionType
exceptionType, int lineNo, int linePos)
1801
case
ExceptionType
.ArgumentException:
1803
case
ExceptionType
.XmlException:
1811
return CreateInvalidSurrogatePairException(low, hi,
ExceptionType
.ArgumentException);
1814
internal static Exception CreateInvalidSurrogatePairException(char low, char hi,
ExceptionType
exceptionType)
1819
internal static Exception CreateInvalidSurrogatePairException(char low, char hi,
ExceptionType
exceptionType, int lineNo, int linePos)
1830
return CreateInvalidHighSurrogateCharException(hi,
ExceptionType
.ArgumentException);
1833
internal static Exception CreateInvalidHighSurrogateCharException(char hi,
ExceptionType
exceptionType)
1838
internal static Exception CreateInvalidHighSurrogateCharException(char hi,
ExceptionType
exceptionType, int lineNo, int linePos)
1845
return CreateInvalidCharException(data, length, invCharPos,
ExceptionType
.ArgumentException);
1848
internal static Exception CreateInvalidCharException(char[] data, int length, int invCharPos,
ExceptionType
exceptionType)
1855
return CreateInvalidCharException(data, invCharPos,
ExceptionType
.ArgumentException);
1858
internal static Exception CreateInvalidCharException(string data, int invCharPos,
ExceptionType
exceptionType)
1865
return CreateInvalidCharException(invChar, nextChar,
ExceptionType
.ArgumentException);
1868
internal static Exception CreateInvalidCharException(char invChar, char nextChar,
ExceptionType
exceptionType)
1873
internal static Exception CreateInvalidNameCharException(string name, int index,
ExceptionType
exceptionType)