40 for (
int i = 0; i <
array.Length; i++)
61 [
RequiresUnreferencedCode(
"The extension function referenced will be called from the stylesheet which cannot be statically analyzed.")]
81 [
RequiresUnreferencedCode(
"The extension function referenced will be called from the stylesheet which cannot be statically analyzed.")]
88 if (name.Namespace.Length == 0 || name.Namespace ==
"http://www.w3.org/1999/XSL/Transform")
165 if (lang.Length == 0)
203 if (lang.Length == 0)
289 for (
int i = 0; i <
count; i++)
303 for (
int i = 0; i <
count; i++)
396 return val[0].IsNode;
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
void Add(TKey key, TValue value)
static string Xslt_ScriptAndExtensionClash
static string Xslt_InvalidAttrValue
static string Xslt_InvalidLanguage
static string Xslt_NoDecimalFormat
static bool Equal(string strA, string strB)
static IList< XPathNavigator > ItemsToNavigators(IList< XPathItem > listItems)
bool LateBoundFunctionExists(string name, string namespaceUri)
object GetLateBoundObject(string namespaceUri)
XmlQueryContext ExternalContext
bool EarlyBoundFunctionExists(string name, string namespaceUri)
static readonly Type StringType
static bool ToBoolean(XPathItem item)
static readonly Type DoubleType
static double ToDouble(string value)
static string ToString(double value)
string FormatMessage(string res, IList< string > args)
static bool CompareNodeSetAndNodeSet(ComparisonOperator op, IList< XPathNavigator > left, IList< XPathNavigator > right, TypeCode compType)
string FormatNumberDynamic(double value, string formatPicture, XmlQualifiedName decimalFormatName, string errorMessageName)
static ComparisonOperator InvertOperator(ComparisonOperator op)
bool EqualityOperator(double opCode, IList< XPathItem > left, IList< XPathItem > right)
Dictionary< XmlQualifiedName, DecimalFormat > _decimalFormats
bool RelationalOperator(double opCode, IList< XPathItem > left, IList< XPathItem > right)
readonly XmlQueryRuntime _runtime
List< DecimalFormatter > _decimalFormatters
static IList< XPathNavigator > ToNodeSetOrRtf(IList< XPathItem > val)
int LangToLcid(string lang, bool forwardCompatibility)
bool FunctionAvailableHelper(XmlQualifiedName name)
XsltLibrary(XmlQueryRuntime runtime)
static TypeCode GetTypeCode(XPathItem item)
static string LangToNameInternal(string lang, bool forwardCompatibility, IErrorHelper errorHelper)
string FormatNumberStatic(double value, double decimalFormatterIndex)
HybridDictionary _functionsAvail
static bool CompareNumbers(ComparisonOperator op, double left, double right)
bool IsSameNodeSort(XPathNavigator nav1, XPathNavigator nav2)
static int LangToLcidInternal(string lang, bool forwardCompatibility, IErrorHelper errorHelper)
bool FunctionAvailable(XmlQualifiedName name)
string NumberFormat(IList< XPathItem > value, string formatString, double lang, string letterValue, string groupingSeparator, double groupingSize)
static TypeCode WeakestTypeCode(TypeCode typeCode1, TypeCode typeCode2)
double RegisterDecimalFormatter(string formatPicture, string infinitySymbol, string nanSymbol, string characters)
DecimalFormat CreateDecimalFormat(string infinitySymbol, string nanSymbol, string characters)
bool ElementAvailable(XmlQualifiedName name)
static bool IsNodeSetOrRtf(IList< XPathItem > val)
static bool CompareNodeSetAndValue(ComparisonOperator op, IList< XPathNavigator > nodeset, XPathItem val, TypeCode compType)
int RegisterDecimalFormat(XmlQualifiedName name, string infinitySymbol, string nanSymbol, string characters)
static bool CompareValues(ComparisonOperator op, XPathItem left, XPathItem right, TypeCode compType)
int CheckScriptNamespace(string nsUri)
static bool IsElementAvailable(XmlQualifiedName name)
static bool IsFunctionAvailable(string localName, string nsUri)