8 instantiations of Function
dotnet-svcutil-lib (8)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (8)
552
arg = new
Function
(Function.FunctionType.FuncString, arg);
584
arg = new
Function
(Function.FunctionType.FuncString, arg);
587
arg = new
Function
(Function.FunctionType.FuncNumber, arg);
590
arg = new
Function
(Function.FunctionType.FuncBoolean, arg);
597
return new
Function
(pi.FType, argList);
600
return new
Function
(prefix, name, argList);
681
return new
Function
(pi.FType, argList);
695
return new
Function
("", "key", argList);
64 references to Function
dotnet-svcutil-lib (64)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\BooleanExpr.cs (2)
26
opnd1 = new BooleanFunctions(
Function
.FunctionType.FuncBoolean, opnd1);
30
opnd2 = new BooleanFunctions(
Function
.FunctionType.FuncBoolean, opnd2);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\BooleanFunctions.cs (1)
13
using FT = MS.Internal.Xml.XPath.
Function
.FunctionType;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\NodeFunctions.cs (2)
13
using FT = MS.Internal.Xml.XPath.
Function
.FunctionType;
103
public override XPathResultType StaticType { get { return
Function
.ReturnTypes[(int)_funcType]; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\NumberFunctions.cs (1)
14
using FT = MS.Internal.Xml.XPath.
Function
.FunctionType;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\NumericExpr.cs (2)
30
opnd1 = new NumberFunctions(
Function
.FunctionType.FuncNumber, opnd1);
34
opnd2 = new NumberFunctions(
Function
.FunctionType.FuncNumber, opnd2);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\querybuilder.cs (4)
13
using FT =
Function
.FunctionType;
354
private Query ProcessFunction(
Function
root, out Props props)
413
return new NumberFunctions(
Function
.FunctionType.FuncNumber, null);
487
result = ProcessFunction((
Function
)root, out props);
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\SortQuery.cs (1)
189
evalQuery = new StringFunctions(
Function
.FunctionType.FuncString, new Query[] { evalQuery });
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\StringFunctions.cs (15)
18
private
Function
.FunctionType _funcType;
21
public StringFunctions(
Function
.FunctionType funcType, IList<Query> argList)
52
case
Function
.FunctionType.FuncString: return toString(nodeIterator);
53
case
Function
.FunctionType.FuncConcat: return Concat(nodeIterator);
54
case
Function
.FunctionType.FuncStartsWith: return StartsWith(nodeIterator);
55
case
Function
.FunctionType.FuncContains: return Contains(nodeIterator);
56
case
Function
.FunctionType.FuncSubstringBefore: return SubstringBefore(nodeIterator);
57
case
Function
.FunctionType.FuncSubstringAfter: return SubstringAfter(nodeIterator);
58
case
Function
.FunctionType.FuncSubstring: return Substring(nodeIterator);
59
case
Function
.FunctionType.FuncStringLength: return StringLength(nodeIterator);
60
case
Function
.FunctionType.FuncNormalize: return Normalize(nodeIterator);
61
case
Function
.FunctionType.FuncTranslate: return Translate(nodeIterator);
105
if (_funcType ==
Function
.FunctionType.FuncStringLength)
110
_funcType ==
Function
.FunctionType.FuncStartsWith ||
111
_funcType ==
Function
.FunctionType.FuncContains
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (36)
545
if (pi.FType ==
Function
.FunctionType.FuncConcat)
552
arg = new Function(
Function
.FunctionType.FuncString, arg);
578
if (!(arg is Variable) && !(arg is
Function
&& arg.ReturnType == XPathResultType.Any))
584
arg = new Function(
Function
.FunctionType.FuncString, arg);
587
arg = new Function(
Function
.FunctionType.FuncNumber, arg);
590
arg = new Function(
Function
.FunctionType.FuncBoolean, arg);
805
private
Function
.FunctionType _ftype;
810
public
Function
.FunctionType FType { get { return _ftype; } }
815
internal ParamInfo(
Function
.FunctionType ftype, int minargs, int maxargs, XPathResultType[] argTypes)
828
table.Add("last", new ParamInfo(
Function
.FunctionType.FuncLast, 0, 0, s_temparray1));
829
table.Add("position", new ParamInfo(
Function
.FunctionType.FuncPosition, 0, 0, s_temparray1));
830
table.Add("name", new ParamInfo(
Function
.FunctionType.FuncName, 0, 1, s_temparray2));
831
table.Add("namespace-uri", new ParamInfo(
Function
.FunctionType.FuncNameSpaceUri, 0, 1, s_temparray2));
832
table.Add("local-name", new ParamInfo(
Function
.FunctionType.FuncLocalName, 0, 1, s_temparray2));
833
table.Add("count", new ParamInfo(
Function
.FunctionType.FuncCount, 1, 1, s_temparray2));
834
table.Add("id", new ParamInfo(
Function
.FunctionType.FuncID, 1, 1, s_temparray3));
835
table.Add("string", new ParamInfo(
Function
.FunctionType.FuncString, 0, 1, s_temparray3));
836
table.Add("concat", new ParamInfo(
Function
.FunctionType.FuncConcat, 2, 100, s_temparray4));
837
table.Add("starts-with", new ParamInfo(
Function
.FunctionType.FuncStartsWith, 2, 2, s_temparray5));
838
table.Add("contains", new ParamInfo(
Function
.FunctionType.FuncContains, 2, 2, s_temparray5));
839
table.Add("substring-before", new ParamInfo(
Function
.FunctionType.FuncSubstringBefore, 2, 2, s_temparray5));
840
table.Add("substring-after", new ParamInfo(
Function
.FunctionType.FuncSubstringAfter, 2, 2, s_temparray5));
841
table.Add("substring", new ParamInfo(
Function
.FunctionType.FuncSubstring, 2, 3, s_temparray6));
842
table.Add("string-length", new ParamInfo(
Function
.FunctionType.FuncStringLength, 0, 1, s_temparray4));
843
table.Add("normalize-space", new ParamInfo(
Function
.FunctionType.FuncNormalize, 0, 1, s_temparray4));
844
table.Add("translate", new ParamInfo(
Function
.FunctionType.FuncTranslate, 3, 3, s_temparray7));
845
table.Add("boolean", new ParamInfo(
Function
.FunctionType.FuncBoolean, 1, 1, s_temparray3));
846
table.Add("not", new ParamInfo(
Function
.FunctionType.FuncNot, 1, 1, s_temparray8));
847
table.Add("true", new ParamInfo(
Function
.FunctionType.FuncTrue, 0, 0, s_temparray8));
848
table.Add("false", new ParamInfo(
Function
.FunctionType.FuncFalse, 0, 0, s_temparray8));
849
table.Add("lang", new ParamInfo(
Function
.FunctionType.FuncLang, 1, 1, s_temparray4));
850
table.Add("number", new ParamInfo(
Function
.FunctionType.FuncNumber, 0, 1, s_temparray3));
851
table.Add("sum", new ParamInfo(
Function
.FunctionType.FuncSum, 1, 1, s_temparray2));
852
table.Add("floor", new ParamInfo(
Function
.FunctionType.FuncFloor, 1, 1, s_temparray9));
853
table.Add("ceiling", new ParamInfo(
Function
.FunctionType.FuncCeiling, 1, 1, s_temparray9));
854
table.Add("round", new ParamInfo(
Function
.FunctionType.FuncRound, 1, 1, s_temparray9));