19 references to XmlException
dotnet-svcutil-lib (19)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\SqlUtils.cs (1)
74default: throw new XmlException(ResXml.XmlBinary_InvalidSqlDecimal, (string[])null);
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (7)
96throw new XmlException(ResXml.XmlBinary_NoRemapPrefix, new String[] { prefix, this.namespaceUri, namespaceUri }); 1967throw new XmlException(ResXml.Xml_BadNamespaceDecl, (string[])null); 2337throw new XmlException(ResXml.Xml_UnexpectedEOF1, (string[])null); 2600throw new XmlException(err, (string[])null); 2859throw new XmlException(ResXml.Xml_UnexpectedEOF1, (string[])null); 4488return new XmlException(res, (string[])null); 4500return new XmlException(res, new string[] { arg1, arg2 });
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (2)
1701throw new XmlException(ResXml.Xml_RedefinePrefix, new string[] { prefix, _nsStack[existingNsIndex].namespaceUri, ns }); 1781throw new XmlException(ResXml.Xml_RedefinePrefix, new string[] { prefix, _nsStack[existingNsIndex].namespaceUri, ns });
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (1)
134throw new XmlException(ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(name, endPos));
FrameworkFork\Microsoft.Xml\Xml\ValidateNames.cs (6)
405throw new XmlException(ResXml.Xml_BadStartNameChar, XmlException.BuildCharExceptionArgs(s, offsetBadChar)); 410throw new XmlException(ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(s, offsetBadChar)); 425return new XmlException(ResXml.Xml_BadStartNameChar, XmlException.BuildCharExceptionArgs(s, offsetBadChar)); 430return new XmlException(ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(s, offsetBadChar)); 527if (throwOnError) throw new XmlException(ResXml.XmlBadName, new string[] { nodeKind.ToString(), localName }); 574if (throwOnError) throw new XmlException(ResXml.XmlBadName, new string[] { nodeKind.ToString(), localName });
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (2)
387return new XmlException(endPos == 0 ? ResXml.Xml_BadStartNameChar : ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(name, endPos)); 527return new XmlException(ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(name, endPos));