192 [
UnconditionalSuppressMessage(
"ReflectionAnalysis",
"IL2026:RequiresUnreferencedCode", Justification =
"In order for this code path to be hit, a previous call to XsltArgumentList.AddExtensionObject is required. That method is already annotated as unsafe and throwing a warning, so we can suppress here.")]
379 theQuery.CompiledQuery.CheckErrors();
393 theQuery.CompiledQuery.CheckErrors();
403 query.SetXsltContext(context);
647 switch (
node.NodeType)
663 switch (
node.NodeType)
682 switch (
node.NodeType)
object Evaluate(XPathNodeIterator nodeIterator)
static Query Clone(Query input)
virtual int Add(object? value)
static bool ToBoolean([NotNullWhen(true)] object? value)
static CultureInfo InvariantCulture
static string XPath_NodeSetExpected
static string Xslt_CircularReference
static string Xslt_CantResolve
static string CompilingScriptsNotSupported
static string Xslt_InvalidPattern
static double ToXPathDouble(object o)
static string ToXPathString(object value)
static readonly XmlNullResolver Singleton
object? GetEntity(Uri absoluteUri, string? role, Type? ofObjectToReturn)
object? GetParam(string name, string namespaceUri)
object? GetExtensionObject(string namespaceUri)
static XsltException Create(string res, params string[] args)
XPathNodeIterator NodeSet
static XPathDocument LoadDocument(XmlTextReaderImpl reader)
XmlQualifiedName currentMode
XsltCompileContext GetMatchesContext()
object GetVariableValue(VariableAction variable)
void PushActionFrame(ActionFrame container, XPathNodeIterator nodeSet)
object GetScriptObject(string nsUri)
bool EvaluateBoolean(ActionFrame context, int key)
string GetQueryExpression(int key)
readonly TemplateLookupAction _templateLookup
readonly IXsltDebugger _debugger
readonly XsltArgumentList _args
XsltCompileContext _matchesContext
void PushActionFrame(ActionFrame container)
ExecResult ExecutionResult
string EvaluateString(ActionFrame context, int key)
ActionFrame PushNewFrame()
XmlQualifiedName GetPreviousMode()
XsltCompileContext _valueOfContext
void PushOutput(IRecordOutput output)
readonly HWStack _debuggerStack
bool CopyEndEvent(XPathNavigator node)
void PushActionFrame(Action action, XPathNodeIterator nodeSet)
readonly XmlNameTable _nameTable
Processor(XPathNavigator doc, XsltArgumentList args, XmlResolver resolver, Stylesheet stylesheet, List< TheQuery > queryStore, RootAction rootAction, IXsltDebugger debugger)
Query GetValueQuery(int key, XsltCompileContext context)
readonly XmlResolver _resolver
string ValueOf(XPathNavigator n)
Query GetCompiledQuery(int key)
void SetCurrentMode(XmlQualifiedName mode)
object Evaluate(ActionFrame context, int key)
readonly Query[] _queryList
XPathNodeIterator StartQuery(XPathNodeIterator context, int key)
void SetParameter(XmlQualifiedName name, object value)
bool CopyTextEvent(XPathNavigator node)
bool Matches(XPathNavigator context, int key)
readonly XPathNavigator _document
StringBuilder GetSharedStringBuilder()
readonly Stylesheet _stylesheet
readonly List< TheQuery > _queryStore
object GetParameter(XmlQualifiedName name)
void AddSort(Sort sortinfo)
Query GetValueQuery(int key)
bool SetDefaultOutput(XsltOutput.OutputMethod method)
StringBuilder _sharedStringBuilder
bool TextEvent(string text, bool disableOutputEscaping)
object GetExtensionObject(string nsUri)
bool BeginEvent(XPathNodeType nodeType, string prefix, string name, string nspace, bool empty)
object RunQuery(ActionFrame context, int key)
void Execute(Stream stream)
string ValueOf(ActionFrame context, int key)
void Execute(TextWriter writer)
readonly Hashtable _scriptExtensions
void ReleaseSharedStringBuilder()
readonly RootAction _rootAction
IRecordOutput PopOutput()
readonly StateMachine _xsm
bool EndEvent(XPathNodeType nodeType)
bool BeginEvent(XPathNodeType nodeType, string prefix, string name, string nspace, bool empty, object htmlProps, bool search)
void Execute(XmlWriter writer)
void ElementValueWithoutWS(XPathNavigator nav, StringBuilder builder)
static bool IsRoot(XPathNavigator navigator)
XsltCompileContext GetValueOfContext()
ReaderOutput StartReader()
void PushTemplateLookup(XPathNodeIterator nodeSet, XmlQualifiedName mode, Stylesheet importsOf)
bool CopyBeginEvent(XPathNavigator node, bool emptyflag)
XPathNavigator GetNavigator(Uri ruri)
object GetGlobalParameter(XmlQualifiedName qname)
bool TextEvent(string text)
readonly HWStack _actionStack
Processor.OutputResult BeginEvent(int state, XPathNodeType nodeType, string prefix, string name, string nspace, bool empty, object htmlProps, bool search)
Processor.OutputResult EndEvent(int state, XPathNodeType nodeType)
Processor.OutputResult TextEvent(int state, string text, bool disableOutputEscaping)
int BeginOutlook(XPathNodeType nodeType)
int Begin(XPathNodeType nodeType)
int EndOutlook(XPathNodeType nodeType)
int End(XPathNodeType nodeType)
bool PreserveWhiteSpace(Processor proc, XPathNavigator node)
Hashtable ScriptObjectTypes
void Initialize(XmlQualifiedName mode, Stylesheet importsOf)
static object BeingComputedMark
void Reinitialize(InputScopeManager manager, Processor processor)
XsltOutput CreateDerivedOutput(OutputMethod method)