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