1 instantiation of XsltLibrary
System.Private.Xml (1)
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
241public XsltLibrary XsltFunctions => _xsltLib ??= new XsltLibrary(this);
39 references to XsltLibrary
System.Private.Xml (39)
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
32private XsltLibrary? _xsltLib; 241public XsltLibrary XsltFunctions => _xsltLib ??= new XsltLibrary(this);
System\Xml\Xsl\Runtime\XsltConvert.cs (10)
30XsltLibrary.CheckXsltValue(item); 56XsltLibrary.CheckXsltValue(listItems); 76XsltLibrary.CheckXsltValue(item); 100XsltLibrary.CheckXsltValue(listItems); 115XsltLibrary.CheckXsltValue(item); 136XsltLibrary.CheckXsltValue(listItems); 156XsltLibrary.CheckXsltValue(listItems); 176XsltLibrary.CheckXsltValue(item); 187XsltLibrary.CheckXsltValue(listItems); 325XsltLibrary.CheckXsltValue(listItems);
System\Xml\Xsl\Runtime\XsltFunctions.cs (3)
229return new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), typeof(XsltLibrary).Assembly.ImageRuntimeVersion); 272XsltLibrary.CheckXsltValue(value); 314XsltLibrary.CheckXsltValue(value);
System\Xml\Xsl\Runtime\XsltLibrary.cs (13)
20public static readonly MethodInfo FormatMessage = typeof(XsltLibrary).GetMethod("FormatMessage")!; 26public static readonly MethodInfo EqualityOperator = typeof(XsltLibrary).GetMethod("EqualityOperator")!; 27public static readonly MethodInfo RelationalOperator = typeof(XsltLibrary).GetMethod("RelationalOperator")!; 61public static readonly MethodInfo CheckScriptNamespace = typeof(XsltLibrary).GetMethod("CheckScriptNamespace")!; 66private static MethodInfo GetFunctionAvailableMethod() => typeof(XsltLibrary).GetMethod("FunctionAvailable")!; 67public static readonly MethodInfo ElementAvailable = typeof(XsltLibrary).GetMethod("ElementAvailable")!; 68public static readonly MethodInfo RegisterDecimalFormat = typeof(XsltLibrary).GetMethod("RegisterDecimalFormat")!; 69public static readonly MethodInfo RegisterDecimalFormatter = typeof(XsltLibrary).GetMethod("RegisterDecimalFormatter")!; 70public static readonly MethodInfo FormatNumberStatic = typeof(XsltLibrary).GetMethod("FormatNumberStatic")!; 71public static readonly MethodInfo FormatNumberDynamic = typeof(XsltLibrary).GetMethod("FormatNumberDynamic")!; 72public static readonly MethodInfo IsSameNodeSort = typeof(XsltLibrary).GetMethod("IsSameNodeSort")!; 73public static readonly MethodInfo LangToLcid = typeof(XsltLibrary).GetMethod("LangToLcid")!; 74public static readonly MethodInfo NumberFormat = typeof(XsltLibrary).GetMethod("NumberFormat")!;
System\Xml\Xsl\XPath\XPathQilFactory.cs (6)
139QilNodeType.Eq => (double)XsltLibrary.ComparisonOperator.Eq, 140_ => (double)XsltLibrary.ComparisonOperator.Ne, 155QilNodeType.Lt => (double)XsltLibrary.ComparisonOperator.Lt, 156QilNodeType.Le => (double)XsltLibrary.ComparisonOperator.Le, 157QilNodeType.Gt => (double)XsltLibrary.ComparisonOperator.Gt, 158_ => (double)XsltLibrary.ComparisonOperator.Ge,
System\Xml\Xsl\Xslt\QilGenerator.cs (5)
1556string cultName = XsltLibrary.LangToNameInternal(lang, fwdCompat, (IErrorHelper)this); 1557if (cultName == XsltLibrary.InvariantCultureName) 1567_f.Conditional(_f.Eq(_f.InvokeLangToLcid(i, fwdCompat), _f.Int32(XsltLibrary.InvariantCultureLcid)), 1585return _f.Double(XsltLibrary.InvariantCultureLcid); 1589return _f.String(XsltLibrary.LangToNameInternal((string)(QilLiteral)lang, fwdCompat, (IErrorHelper)this));