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