176 references to XPathResultType
dotnet-svcutil-lib (176)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\AstNode.cs (1)
26public abstract XPathResultType ReturnType { get; }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Axis.cs (2)
61public override XPathResultType ReturnType { get { return XPathResultType.NodeSet; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\baseaxisquery.cs (2)
138public override XPathResultType StaticType { get { return XPathResultType.NodeSet; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\BooleanExpr.cs (4)
24if (opnd1.StaticType != XPathResultType.Boolean) 28if (opnd2.StaticType != XPathResultType.Boolean) 60public override XPathResultType StaticType { get { return XPathResultType.Boolean; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\BooleanFunctions.cs (2)
72public override XPathResultType StaticType { get { return XPathResultType.Boolean; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\CacheOutputQuery.cs (2)
74public override XPathResultType StaticType { get { return XPathResultType.NodeSet; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\CompiledXpathExpr.cs (2)
106public override XPathResultType ReturnType { get { return _query.StaticType; } } 140public override IXsltContextFunction ResolveFunction(string prefix, string name, XPathResultType[] ArgTypes)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\ContextQuery.cs (2)
55public override XPathResultType StaticType { get { return XPathResultType.NodeSet; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\EmptyQuery.cs (2)
23public override XPathResultType StaticType { get { return XPathResultType.NodeSet; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\ExtensionQuery.cs (2)
131public override XPathResultType StaticType { get { return XPathResultType.Any; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Filter.cs (2)
25public override XPathResultType ReturnType { get { return XPathResultType.NodeSet; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\FilterQuery.cs (6)
42if (_cond.StaticType != XPathResultType.Number && _cond.StaticType != XPathResultType.Any && _noPosition) 92case XPathResultType.Number: 139case XPathResultType.NodeSet: 142case XPathResultType.Boolean: 148case XPathResultType.String:
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Function.cs (30)
81public override XPathResultType ReturnType 94internal static XPathResultType[] ReturnTypes = { 95/* FunctionType.FuncLast */ XPathResultType.Number , 96/* FunctionType.FuncPosition */ XPathResultType.Number , 97/* FunctionType.FuncCount */ XPathResultType.Number , 98/* FunctionType.FuncID */ XPathResultType.NodeSet, 99/* FunctionType.FuncLocalName */ XPathResultType.String , 100/* FunctionType.FuncNameSpaceUri */ XPathResultType.String , 101/* FunctionType.FuncName */ XPathResultType.String , 102/* FunctionType.FuncString */ XPathResultType.String , 103/* FunctionType.FuncBoolean */ XPathResultType.Boolean, 104/* FunctionType.FuncNumber */ XPathResultType.Number , 105/* FunctionType.FuncTrue */ XPathResultType.Boolean, 106/* FunctionType.FuncFalse */ XPathResultType.Boolean, 107/* FunctionType.FuncNot */ XPathResultType.Boolean, 108/* FunctionType.FuncConcat */ XPathResultType.String , 109/* FunctionType.FuncStartsWith */ XPathResultType.Boolean, 110/* FunctionType.FuncContains */ XPathResultType.Boolean, 111/* FunctionType.FuncSubstringBefore */ XPathResultType.String , 112/* FunctionType.FuncSubstringAfter */ XPathResultType.String , 113/* FunctionType.FuncSubstring */ XPathResultType.String , 114/* FunctionType.FuncStringLength */ XPathResultType.Number , 115/* FunctionType.FuncNormalize */ XPathResultType.String , 116/* FunctionType.FuncTranslate */ XPathResultType.String , 117/* FunctionType.FuncLang */ XPathResultType.Boolean, 118/* FunctionType.FuncSum */ XPathResultType.Number , 119/* FunctionType.FuncFloor */ XPathResultType.Number , 120/* FunctionType.FuncCeiling */ XPathResultType.Number , 121/* FunctionType.FuncRound */ XPathResultType.Number , 122/* FunctionType.FuncUserDefined */ XPathResultType.Any
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\FunctionQuery.cs (7)
51XPathResultType[] argTypes = new XPathResultType[_args.Count]; 110public override XPathResultType StaticType 114XPathResultType result = _function != null ? _function.ReturnType : XPathResultType.Any; 115if (result == XPathResultType.Error) 118result = XPathResultType.Any;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Group.cs (2)
21public override XPathResultType ReturnType { get { return XPathResultType.NodeSet; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\GroupQuery.cs (1)
34public override XPathResultType StaticType { get { return qyInput.StaticType; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\IDQuery.cs (4)
26case XPathResultType.NodeSet: 33case XPathResultType.String: 36case XPathResultType.Number: 39case XPathResultType.Boolean:
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\LogicalExpr.cs (2)
435public override XPathResultType StaticType { get { return XPathResultType.Boolean; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\NodeFunctions.cs (1)
103public override XPathResultType StaticType { get { return Function.ReturnTypes[(int)_funcType]; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\NumberFunctions.cs (6)
71case XPathResultType.NodeSet: 78case XPathResultType.String: 80case XPathResultType.Boolean: 82case XPathResultType.Number: 118public override XPathResultType StaticType { get { return XPathResultType.Number; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\NumericExpr.cs (4)
28if (opnd1.StaticType != XPathResultType.Number) 32if (opnd2.StaticType != XPathResultType.Number) 74public override XPathResultType StaticType { get { return XPathResultType.Number; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Operand.cs (5)
15private XPathResultType _type; 20_type = XPathResultType.String; 26_type = XPathResultType.Number; 32_type = XPathResultType.Boolean; 37public override XPathResultType ReturnType { get { return _type; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\OperandQuery.cs (1)
27public override XPathResultType StaticType { get { return GetXPathType(val); } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Operator.cs (4)
68public override XPathResultType ReturnType 74return XPathResultType.Boolean; 78return XPathResultType.Number; 80return XPathResultType.NodeSet;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Query.cs (8)
76public abstract XPathResultType StaticType { get; } 242public const XPathResultType XPathResultType_Navigator = (XPathResultType)4; 248protected XPathResultType GetXPathType(object value) 250if (value is XPathNodeIterator) return XPathResultType.NodeSet; 251if (value is string) return XPathResultType.String; 252if (value is double) return XPathResultType.Number; 253if (value is bool) return XPathResultType.Boolean;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\querybuilder.cs (4)
212q.StaticType == XPathResultType.Any || 213q.StaticType == XPathResultType.Number 258if (qyFilter != null && (propsCond & Props.HasPosition) == 0 && qyFilter.Condition.StaticType != XPathResultType.Any) 261if (prevCond.StaticType == XPathResultType.Number)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Root.cs (2)
16public override XPathResultType ReturnType { get { return XPathResultType.NodeSet; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\SortQuery.cs (6)
43_qyInput.StaticType != XPathResultType.NodeSet && 44_qyInput.StaticType != XPathResultType.Any 111public override XPathResultType StaticType { get { return XPathResultType.NodeSet; } } 187if (evalQuery.StaticType == XPathResultType.NodeSet || evalQuery.StaticType == XPathResultType.Any)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\StringFunctions.cs (8)
84case XPathResultType.NodeSet: 87case XPathResultType.String: 89case XPathResultType.Boolean: 94Debug.Assert(GetXPathType(argVal) == XPathResultType.Number); 101public override XPathResultType StaticType 107return XPathResultType.Number; 114return XPathResultType.Boolean; 116return XPathResultType.String;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\UnionExpr.cs (2)
158public override XPathResultType StaticType { get { return XPathResultType.NodeSet; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\Variable.cs (2)
23public override XPathResultType ReturnType { get { return XPathResultType.Any; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\VariableQuery.cs (5)
53public override XPathResultType StaticType 61XPathResultType result = _variable != null ? _variable.VariableType : XPathResultType.Any; 62if (result == XPathResultType.Error) 65result = XPathResultType.Any;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XmlIteratorQuery.cs (2)
42public override XPathResultType StaticType { get { return XPathResultType.NodeSet; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (35)
550if (arg.ReturnType != XPathResultType.String) 571pi.ArgTypes[i] != XPathResultType.Any && 577case XPathResultType.NodeSet: 578if (!(arg is Variable) && !(arg is Function && arg.ReturnType == XPathResultType.Any)) 583case XPathResultType.String: 586case XPathResultType.Number: 589case XPathResultType.Boolean: 784private void CheckNodeSet(XPathResultType t) 786if (t != XPathResultType.NodeSet && t != XPathResultType.Any) 793private static readonly XPathResultType[] s_temparray1 = { }; 794private static readonly XPathResultType[] s_temparray2 = { XPathResultType.NodeSet }; 795private static readonly XPathResultType[] s_temparray3 = { XPathResultType.Any }; 796private static readonly XPathResultType[] s_temparray4 = { XPathResultType.String }; 797private static readonly XPathResultType[] s_temparray5 = { XPathResultType.String, XPathResultType.String }; 798private static readonly XPathResultType[] s_temparray6 = { XPathResultType.String, XPathResultType.Number, XPathResultType.Number }; 799private static readonly XPathResultType[] s_temparray7 = { XPathResultType.String, XPathResultType.String, XPathResultType.String }; 800private static readonly XPathResultType[] s_temparray8 = { XPathResultType.Boolean }; 801private static readonly XPathResultType[] s_temparray9 = { XPathResultType.Number }; 808private XPathResultType[] _argTypes; 813public XPathResultType[] ArgTypes { get { return _argTypes; } } 815internal ParamInfo(Function.FunctionType ftype, int minargs, int maxargs, XPathResultType[] argTypes)
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathExpr.cs (2)
37Navigator = XPathResultType.String, 58public abstract XPathResultType ReturnType { get; }
FrameworkFork\Microsoft.Xml\Xml\Xslt\XsltContext.cs (4)
17XPathResultType ReturnType { get; } 18XPathResultType[] ArgTypes { get; } 26XPathResultType VariableType { get; } 38public abstract IXsltContextFunction ResolveFunction(string prefix, string name, XPathResultType[] ArgTypes);