4 instantiations of XPathException
System.Private.Xml (4)
System\Xml\XPath\XPathException.cs (4)
76return new XPathException(res, (string[]?)null); 81return new XPathException(res, new string[] { arg }); 86return new XPathException(res, new string[] { arg, arg2 }); 91return new XPathException(res, new string[] { arg }, innerException);
64 references to XPathException
Microsoft.Build.Tasks.Core (2)
XmlPeek.cs (1)
127catch (XPathException e)
XmlPoke.cs (1)
113catch (XPathException e)
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Extensions\ISymbolExtensions.cs (1)
628catch (XPathException)
netstandard (1)
netstandard.cs (1)
2518[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XPath.XPathException))]
PresentationFramework (2)
MS\Internal\Data\XmlBindingWorker.cs (1)
524catch (XPathException xe)
System\Windows\Data\XmlDataProvider.cs (1)
791catch (XPathException xe)
System.Private.Xml (56)
System\Xml\XPath\Internal\CompiledXPathExpr.cs (5)
33throw XPathException.Create(SR.Xp_NoContext); 68throw XPathException.Create(SR.Xp_BadQueryObject); 132throw XPathException.Create(SR.XmlUndefinedAlias, prefix); 139throw XPathException.Create(SR.Xp_UndefinedXsltContext); 143throw XPathException.Create(SR.Xp_UndefinedXsltContext);
System\Xml\XPath\Internal\DescendantBaseQuery.cs (1)
32throw XPathException.Create(SR.Xp_InvalidPattern);
System\Xml\XPath\Internal\ExtensionQuery.cs (2)
42throw XPathException.Create(SR.Xp_NodeSetExpected); 56throw XPathException.Create(SR.Xp_NodeSetExpected);
System\Xml\XPath\Internal\FunctionQuery.cs (5)
40throw XPathException.Create(SR.Xp_NoContext); 58throw XPathException.Create(SR.Xp_UndefFunc, QName); 67throw XPathException.Create(SR.Xp_NoContext); 92throw XPathException.Create(SR.Xp_FunctionFailed, QName, ex); 100throw XPathException.Create(SR.Xp_InvalidPattern);
System\Xml\XPath\Internal\Query.cs (1)
61throw XPathException.Create(SR.Xp_InvalidPattern);
System\Xml\XPath\Internal\QueryBuilder.cs (6)
201throw XPathException.Create(SR.Xp_NotSupported, _query!); 344throw XPathException.Create(SR.Xp_InvalidKeyPattern, _query!); 426throw XPathException.Create(SR.Xp_CurrentNotAllowed); 430throw XPathException.Create(SR.Xp_InvalidKeyPattern, _query!); 436throw XPathException.Create(SR.Xp_NotSupported, _query!); 461throw XPathException.Create(SR.Xp_QueryTooComplex);
System\Xml\XPath\Internal\SortQuery.cs (1)
46throw XPathException.Create(SR.Xp_NodeSetExpected);
System\Xml\XPath\Internal\ValueQuery.cs (4)
15public sealed override XPathNavigator Current { get { throw XPathException.Create(SR.Xp_NodeSetExpected); } } 16public sealed override int CurrentPosition { get { throw XPathException.Create(SR.Xp_NodeSetExpected); } } 17public sealed override int Count { get { throw XPathException.Create(SR.Xp_NodeSetExpected); } } 18public sealed override XPathNavigator Advance() { throw XPathException.Create(SR.Xp_NodeSetExpected); }
System\Xml\XPath\Internal\VariableQuery.cs (3)
26throw XPathException.Create(SR.Xp_NoContext); 36throw XPathException.Create(SR.Xp_UndefVar, QName); 45throw XPathException.Create(SR.Xp_NoContext);
System\Xml\XPath\Internal\XPathParser.cs (11)
28throw XPathException.Create(SR.Xp_InvalidToken, parser._scanner.SourceText); 39throw XPathException.Create(SR.Xp_InvalidToken, parser._scanner.SourceText); 57throw XPathException.Create(SR.Xp_QueryTooComplex); 449throw XPathException.Create(SR.Xp_NodeSetExpected, _scanner.SourceText); 530throw XPathException.Create(SR.Xp_InvalidNumArgs, name, _scanner.SourceText); 548throw XPathException.Create(SR.Xp_InvalidNumArgs, name, _scanner.SourceText); 567throw XPathException.Create(SR.Xp_InvalidArgumentType, name, _scanner.SourceText); 722throw XPathException.Create(SR.Xp_InvalidToken, _scanner.SourceText); 747throw XPathException.Create(SR.Xp_InvalidToken, _scanner.SourceText); 775throw XPathException.Create(SR.Xp_NodeSetExpected, _scanner.SourceText); 871throw XPathException.Create(SR.Xp_InvalidToken, _scanner.SourceText);
System\Xml\XPath\Internal\XPathScanner.cs (5)
29throw XPathException.Create(SR.Xp_ExprExpected, string.Empty); 241throw XPathException.Create(SR.Xp_InvalidName, SourceText); 259throw XPathException.Create(SR.Xp_InvalidName, SourceText); 268throw XPathException.Create(SR.Xp_InvalidToken, SourceText); 318throw XPathException.Create(SR.Xp_UnclosedString);
System\Xml\XPath\XPathException.cs (4)
74internal static XPathException Create(string res) 79internal static XPathException Create(string res, string arg) 84internal static XPathException Create(string res, string arg, string arg2) 89internal static XPathException Create(string res, string arg, Exception innerException)
System\Xml\XPath\XPathNavigator.cs (5)
1155throw XPathException.Create(SR.Xp_NodeSetExpected); 1180throw XPathException.Create(SR.Xp_BadQueryObject); 1202throw XPathException.Create(SR.Xp_BadQueryObject); 1213catch (XPathException) 1215throw XPathException.Create(SR.Xp_InvalidPattern, cexpr.Expression);
System\Xml\Xsl\XsltOld\Compiler.cs (1)
723catch (XPathException e)
System\Xml\Xsl\XsltOld\Processor.cs (1)
695catch (XPathException)
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
362catch (XPathException)
System.Xml (1)
System.Xml.cs (1)
180[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XPath.XPathException))]
System.Xml.XPath (1)
artifacts\obj\System.Xml.XPath\Debug\net10.0\System.Xml.XPath.Forwards.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XPath.XPathException))]