4 instantiations of XPathException
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathException.cs (4)
37return new XPathException(res, (string[])null); 42return new XPathException(res, new string[] { arg }); 47return new XPathException(res, new string[] { arg, arg2 }); 52return new XPathException(res, new string[] { arg }, innerException);
53 references to XPathException
dotnet-svcutil-lib (53)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\CompiledXpathExpr.cs (5)
34throw XPathException.Create(ResXml.Xp_NoContext); 65throw XPathException.Create(ResXml.Xp_BadQueryObject); 131throw XPathException.Create(ResXml.XmlUndefinedAlias, prefix); 138throw XPathException.Create(ResXml.Xp_UndefinedXsltContext); 142throw XPathException.Create(ResXml.Xp_UndefinedXsltContext);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\DescendantBaseQuery.cs (1)
34throw XPathException.Create(ResXml.Xp_InvalidPattern);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\ExtensionQuery.cs (2)
49throw XPathException.Create(ResXml.Xp_NodeSetExpected); 63throw XPathException.Create(ResXml.Xp_NodeSetExpected);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\FunctionQuery.cs (5)
42throw XPathException.Create(ResXml.Xp_NoContext); 60throw XPathException.Create(ResXml.Xp_UndefFunc, QName); 69throw XPathException.Create(ResXml.Xp_NoContext); 88throw XPathException.Create(ResXml.Xp_FunctionFailed, QName, ex); 96throw XPathException.Create(ResXml.Xp_InvalidPattern);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Query.cs (1)
72throw XPathException.Create(ResXml.Xp_InvalidPattern);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\querybuilder.cs (6)
203throw XPathException.Create(ResXml.Xp_NotSupported, _query); 349throw XPathException.Create(ResXml.Xp_InvalidKeyPattern, _query); 428throw XPathException.Create(ResXml.Xp_CurrentNotAllowed); 432throw XPathException.Create(ResXml.Xp_InvalidKeyPattern, _query); 438throw XPathException.Create(ResXml.Xp_NotSupported, _query); 463throw XPathException.Create(ResXml.Xp_QueryTooComplex);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\SortQuery.cs (1)
47throw XPathException.Create(ResXml.Xp_NodeSetExpected);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\ValueQuery.cs (4)
21public sealed override XPathNavigator Current { get { throw XPathException.Create(ResXml.Xp_NodeSetExpected); } } 22public sealed override int CurrentPosition { get { throw XPathException.Create(ResXml.Xp_NodeSetExpected); } } 23public sealed override int Count { get { throw XPathException.Create(ResXml.Xp_NodeSetExpected); } } 24public sealed override XPathNavigator Advance() { throw XPathException.Create(ResXml.Xp_NodeSetExpected); }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\VariableQuery.cs (3)
28throw XPathException.Create(ResXml.Xp_NoContext); 38throw XPathException.Create(ResXml.Xp_UndefVar, QName); 47throw XPathException.Create(ResXml.Xp_NoContext);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (11)
31throw XPathException.Create(ResXml.Xp_InvalidToken, scanner.SourceText); 43throw XPathException.Create(ResXml.Xp_InvalidToken, scanner.SourceText); 61throw XPathException.Create(ResXml.Xp_QueryTooComplex); 458throw XPathException.Create(ResXml.Xp_NodeSetExpected, _scanner.SourceText); 543throw XPathException.Create(ResXml.Xp_InvalidNumArgs, name, _scanner.SourceText); 561throw XPathException.Create(ResXml.Xp_InvalidNumArgs, name, _scanner.SourceText); 580throw XPathException.Create(ResXml.Xp_InvalidArgumentType, name, _scanner.SourceText); 735throw XPathException.Create(ResXml.Xp_InvalidToken, _scanner.SourceText); 760throw XPathException.Create(ResXml.Xp_InvalidToken, _scanner.SourceText); 788throw XPathException.Create(ResXml.Xp_NodeSetExpected, _scanner.SourceText); 884throw XPathException.Create(ResXml.Xp_InvalidToken, _scanner.SourceText);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathScanner.cs (5)
32throw XPathException.Create(ResXml.Xp_ExprExpected, string.Empty); 252throw XPathException.Create(ResXml.Xp_InvalidName, SourceText); 270throw XPathException.Create(ResXml.Xp_InvalidName, SourceText); 279throw XPathException.Create(ResXml.Xp_InvalidToken, SourceText); 329throw XPathException.Create(ResXml.Xp_UnclosedString);
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathException.cs (4)
35internal static XPathException Create(string res) 40internal static XPathException Create(string res, string arg) 45internal static XPathException Create(string res, string arg, string arg2) 50internal static XPathException Create(string res, string arg, Exception innerException)
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (5)
1220throw XPathException.Create(ResXml.Xp_NodeSetExpected); 1245throw XPathException.Create(ResXml.Xp_BadQueryObject); 1269throw XPathException.Create(ResXml.Xp_BadQueryObject); 1280catch (XPathException) 1282throw XPathException.Create(ResXml.Xp_InvalidPattern, cexpr.Expression);