160 [
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.")]
170 [
RequiresUnreferencedCode(
"The extension function referenced will be called from the stylesheet which cannot be statically analyzed.")]
185 [
RequiresUnreferencedCode(
"The extension function referenced will be called from the stylesheet which cannot be statically analyzed.")]
198 object[]
array =
new object[
args.Length];
199 for (
int i = 0; i <
args.Length; i++)
virtual void Add(object key, object? value)
static string XmlIl_CantStripNav
static string XmlIl_UnknownExtObj
static string XmlIl_UnknownDocument
static string XmlIl_NoDefaultDocument
static string XmlIl_CantResolveEntity
static string XmlIl_DocumentLoadError
XPathNavigator CreateNavigator()
static bool IsCatchableException(Exception e)
object? GetEntity(Uri absoluteUri, string? role, Type? ofObjectToReturn)
virtual Uri ResolveUri(Uri? baseUri, string? relativeUri)
XmlReader CreateReader(Stream stream, string baseUri)
static XmlReader CreateReader(XmlReader baseReader, WhitespaceRuleLookup wsRules)
XmlExtensionFunction Bind(string name, string namespaceUri, int numArgs, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods|DynamicallyAccessedMemberTypes.NonPublicMethods)] Type objectType, BindingFlags flags)
XmlNameTable QueryNameTable
readonly Hashtable _dataSourceCache
readonly XmlResolver _dataSources
readonly XPathNavigator _defaultDataSource
void OnXsltMessageEncountered(string message)
XmlQueryContext(XmlQueryRuntime runtime, object defaultDataSource, XmlResolver dataSources, XsltArgumentList argList, WhitespaceRuleLookup wsRules)
XPathNavigator GetDataSource(string uriRelative, string uriBase)
readonly XmlQueryRuntime _runtime
XPathNavigator DefaultDataSource
IList< XPathItem > InvokeXsltLateBoundFunction(string name, string namespaceUri, IList< XPathItem >[] args)
XmlNameTable DefaultNameTable
readonly WhitespaceRuleLookup _wsRules
bool LateBoundFunctionExists(string name, string namespaceUri)
object GetParameter(string localName, string namespaceUri)
object GetLateBoundObject(string namespaceUri)
readonly XsltArgumentList _argList
readonly QueryReaderSettings _readerSettings
XPathNavigator ConstructDocument(object dataSource, string uriRelative, Uri uriResolved)
XmlExtensionFunctionTable _extFuncsLate
static new readonly XmlQueryNodeSequence Empty
object ChangeTypeXsltResult(int indexType, object value)
object ChangeTypeXsltArgument(int indexType, object value, Type destinationType)
static IList< XPathNavigator > ToNodeSet(XPathItem item)
static bool ToBoolean(XPathItem item)
static XPathNavigator ToNode(XPathItem item)
static readonly Type VoidType
static double ToDouble(string value)
static string ToString(double value)
static readonly XmlQueryType ItemS
object? GetParam(string name, string namespaceUri)
object? GetExtensionObject(string namespaceUri)
XsltMessageEncounteredEventHandler xsltMessageEncountered