3 types derived from XmlQueryType
System.Private.Xml (3)
System\Xml\Xsl\XmlQueryTypeFactory.cs (3)
323private sealed class ItemType : XmlQueryType 688private sealed class ChoiceType : XmlQueryType 960private sealed class SequenceType : XmlQueryType
421 references to XmlQueryType
System.Private.Xml (421)
System\Xml\Xsl\IlGen\GenerateHelper.cs (1)
1401public void AddSortKey(XmlQueryType? keyType)
System\Xml\Xsl\IlGen\IteratorDescriptor.cs (1)
675public void EnsureItemStorageType(XmlQueryType xmlType, Type storageTypeDest)
System\Xml\Xsl\IlGen\StaticDataManager.cs (4)
63private UniqueList<XmlQueryType>? _uniqueXmlTypes; 182public int DeclareXmlType(XmlQueryType type) 184_uniqueXmlTypes ??= new UniqueList<XmlQueryType>(); 193public XmlQueryType[]? XmlTypes
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (7)
598XmlQueryType typ = ndLoop.XmlType!; 682XmlQueryType typ = ndCopy.XmlType!; 713private void StartLoop(XmlQueryType typ, XmlILConstructInfo info) 749private void EndLoop(XmlQueryType typ, XmlILConstructInfo info) 764private static bool MaybeAttrNmsp(XmlQueryType typ) 772private static bool MaybeContent(XmlQueryType typ) 902private void CheckAttributeNamespaceConstruct(XmlQueryType typ)
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (48)
218protected override void RecalculateType(QilNode node, XmlQueryType oldType) 1746XmlQueryType local5 = (XmlQueryType)((QilLiteral)local4).Value!; 1882XmlQueryType local5 = (XmlQueryType)((QilLiteral)local4).Value!; 2152XmlQueryType local5 = (XmlQueryType)((QilLiteral)local4).Value!; 2266XmlQueryType local5 = (XmlQueryType)((QilLiteral)local4).Value!; 2361XmlQueryType local5 = (XmlQueryType)((QilLiteral)local4).Value!; 2456XmlQueryType local5 = (XmlQueryType)((QilLiteral)local4).Value!; 2999XmlQueryType local8 = (XmlQueryType)((QilLiteral)local7).Value!; 3168XmlQueryType local7 = (XmlQueryType)((QilLiteral)local6).Value!; 3214XmlQueryType local6 = (XmlQueryType)((QilLiteral)local5).Value!; 3244XmlQueryType local7 = (XmlQueryType)((QilLiteral)local6).Value!; 3309XmlQueryType local5 = (XmlQueryType)((QilLiteral)local4).Value!; 4514XmlQueryType local3 = (XmlQueryType)((QilLiteral)local2).Value!; 4529XmlQueryType local3 = (XmlQueryType)((QilLiteral)local2).Value!; 4544XmlQueryType local3 = (XmlQueryType)((QilLiteral)local2).Value!; 4579XmlQueryType local3 = (XmlQueryType)((QilLiteral)local2).Value!; 4597XmlQueryType local3 = (XmlQueryType)((QilLiteral)local2).Value!; 4613XmlQueryType local3 = (XmlQueryType)((QilLiteral)local2).Value!; 4630XmlQueryType local3 = (XmlQueryType)((QilLiteral)local2).Value!; 4648XmlQueryType local3 = (XmlQueryType)((QilLiteral)local2).Value!; 4914XmlQueryType local3 = (XmlQueryType)((QilLiteral)local2).Value!; 4930XmlQueryType local3 = (XmlQueryType)((QilLiteral)local2).Value!; 5167private static bool IsPrimitiveNumeric(XmlQueryType? typ) 5181private static bool MatchesContentTest(XmlQueryType typ) 5360private bool CanFoldXsltConvert(QilNode ndLiteral, XmlQueryType typTarget) 5370private bool CanFoldXsltConvertNonLossy(QilNode ndLiteral, XmlQueryType typTarget) 5393private QilNode FoldXsltConvert(QilNode ndLiteral, XmlQueryType typTarget)
System\Xml\Xsl\IlGen\XmlIlTypeHelper.cs (1)
24public static Type GetStorageType(XmlQueryType qyTyp)
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (13)
361XmlQueryType typ = nd.XmlType!; 1937kinds = ((XmlQueryType)patt.GetArgument(OptimizerPatternArgument.KindTestType)).NodeKinds; 2432kinds = ((XmlQueryType)pattStep.GetArgument(OptimizerPatternArgument.KindTestType)).NodeKinds; 3176XmlQueryType typDerived, typBase; 3233private bool MatchesNodeKinds(QilTargetType ndIsType, XmlQueryType typDerived, XmlQueryType typBase) 3251foreach (XmlQueryType typItem in typBase) 3640XmlQueryType xmlTypeFormalArg; 3796XmlQueryType typSrc, typDst; 3826private static bool GetXsltConvertMethod(XmlQueryType typSrc, XmlQueryType typDst, out MethodInfo? meth) 4969private static Type GetStorageType(XmlQueryType typ) 4985private static Type GetItemStorageType(XmlQueryType typ)
System\Xml\Xsl\QIL\QilFactory.cs (10)
60public QilParameter Parameter(XmlQueryType xmlType) 75public QilTargetType TypeAssert(QilNode expr, XmlQueryType xmlType) 80public QilTargetType IsType(QilNode expr, XmlQueryType xmlType) 85public QilTargetType XsltConvert(QilNode expr, XmlQueryType xmlType) 90public QilFunction Function(QilNode arguments, QilNode sideEffects, XmlQueryType xmlType) 162public QilNode Unknown(XmlQueryType xmlType) 230public QilParameter Parameter(QilNode? defaultValue, QilNode? name, XmlQueryType xmlType) 316public QilLiteral LiteralType(XmlQueryType value) 656public QilFunction Function(QilNode arguments, QilNode definition, QilNode sideEffects, XmlQueryType xmlType) 996public QilInvokeEarlyBound XsltInvokeEarlyBound(QilNode name, QilNode clrMethod, QilNode arguments, XmlQueryType xmlType)
System\Xml\Xsl\QIL\QilFunction.cs (1)
34public QilFunction(QilNodeType nodeType, QilNode arguments, QilNode definition, QilNode sideEffects, XmlQueryType resultType)
System\Xml\Xsl\QIL\QilInvokeEarlyBound.cs (1)
22public QilInvokeEarlyBound(QilNodeType nodeType, QilNode name, QilNode method, QilNode arguments, XmlQueryType resultType)
System\Xml\Xsl\QIL\QilList.cs (2)
43public override XmlQueryType XmlType 49XmlQueryType xt = XmlQueryTypeFactory.Empty;
System\Xml\Xsl\QIL\QilLiteral.cs (2)
68public static implicit operator XmlQueryType(QilLiteral literal) 70return (XmlQueryType)literal._value!;
System\Xml\Xsl\QIL\QilNode.cs (3)
25protected XmlQueryType? xmlType; 44public QilNode(QilNodeType nodeType, XmlQueryType xmlType) 67public virtual XmlQueryType? XmlType
System\Xml\Xsl\QIL\QilParameter.cs (1)
23public QilParameter(QilNodeType nodeType, QilNode? defaultValue, QilNode? name, XmlQueryType xmlType) : base(nodeType, defaultValue)
System\Xml\Xsl\QIL\QilPatternFactory.cs (8)
66public QilNode Unknown(XmlQueryType t) 184public QilParameter Parameter(XmlQueryType t) 189public QilParameter Parameter(QilNode? defaultValue, QilName? name, XmlQueryType t) 593public QilFunction Function(QilList args, QilNode sideEffects, XmlQueryType resultType) 763public QilNode TypeAssert(QilNode expr, XmlQueryType t) 768public QilNode IsType(QilNode expr, XmlQueryType t) 816public QilNode XsltInvokeEarlyBound(QilNode name, MethodInfo d, XmlQueryType t, IList<QilNode> args) 840public QilNode XsltConvert(QilNode expr, XmlQueryType t)
System\Xml\Xsl\QIL\QilReplaceVisitor.cs (4)
34XmlQueryType oldParentType = parent.XmlType!; 41XmlQueryType? oldChildType = oldChild?.XmlType; 71protected virtual void RecalculateType(QilNode node, XmlQueryType oldType) 73XmlQueryType newType;
System\Xml\Xsl\QIL\QilTargetType.cs (2)
41public XmlQueryType TargetType 43get { return (XmlQueryType)((QilLiteral)Right).Value!; }
System\Xml\Xsl\QIL\QilTypeChecker.cs (119)
23public static XmlQueryType Check(QilNode n) 164public static XmlQueryType CheckQilExpression(QilExpression node) 176public static XmlQueryType CheckFunctionList(QilList node) 183public static XmlQueryType CheckGlobalVariableList(QilList node) 190public static XmlQueryType CheckGlobalParameterList(QilList node) 200public static XmlQueryType CheckActualParameterList(QilList node) 205public static XmlQueryType CheckFormalParameterList(QilList node) 212public static XmlQueryType CheckSortKeyList(QilList node) 219public static XmlQueryType CheckBranchList(QilList node) 224public static XmlQueryType CheckOptimizeBarrier(QilUnary node) 229public static XmlQueryType CheckUnknown(QilNode node) 240public static XmlQueryType CheckDataSource(QilDataSource node) 247public static XmlQueryType CheckNop(QilUnary node) 252public static XmlQueryType CheckError(QilUnary node) 258public static XmlQueryType CheckWarning(QilUnary node) 270public static XmlQueryType CheckFor(QilIterator node) 275public static XmlQueryType CheckLet(QilIterator node) 280public static XmlQueryType CheckParameter(QilParameter node) 286public static XmlQueryType CheckPositionOf() 297public static XmlQueryType CheckTrue() 302public static XmlQueryType CheckFalse() 307public static XmlQueryType CheckLiteralString(QilLiteral node) 313public static XmlQueryType CheckLiteralInt32(QilLiteral node) 319public static XmlQueryType CheckLiteralInt64(QilLiteral node) 325public static XmlQueryType CheckLiteralDouble(QilLiteral node) 331public static XmlQueryType CheckLiteralDecimal(QilLiteral node) 337public static XmlQueryType CheckLiteralQName(QilName node) 345public static XmlQueryType CheckLiteralType(QilLiteral node) 347CheckLiteralValue(node, typeof(XmlQueryType)); 348return (XmlQueryType)node; 351public static XmlQueryType CheckLiteralObject(QilLiteral node) 363public static XmlQueryType CheckAnd(QilBinary node) 370public static XmlQueryType CheckOr(QilBinary node) 375public static XmlQueryType CheckNot(QilUnary node) 387public static XmlQueryType CheckConditional(QilTernary node) 393public static XmlQueryType CheckChoice(QilChoice node) 407public static XmlQueryType CheckLength() 412public static XmlQueryType CheckSequence(QilList node) 417public static XmlQueryType CheckUnion(QilBinary node) 424public static XmlQueryType CheckIntersection(QilBinary node) 429public static XmlQueryType CheckDifference(QilBinary node) 436public static XmlQueryType CheckAverage(QilUnary node) 438XmlQueryType xmlType = node.Child.XmlType!; 443public static XmlQueryType CheckSum(QilUnary node) 448public static XmlQueryType CheckMinimum(QilUnary node) 453public static XmlQueryType CheckMaximum(QilUnary node) 464public static XmlQueryType CheckNegate(QilUnary node) 470public static XmlQueryType CheckAdd(QilBinary node) 478public static XmlQueryType CheckSubtract(QilBinary node) 483public static XmlQueryType CheckMultiply(QilBinary node) 488public static XmlQueryType CheckDivide(QilBinary node) 493public static XmlQueryType CheckModulo(QilBinary node) 504public static XmlQueryType CheckStrLength(QilUnary node) 510public static XmlQueryType CheckStrConcat(QilStrConcat node) 517public static XmlQueryType CheckStrParseQName(QilBinary node) 531public static XmlQueryType CheckNe(QilBinary node) 539public static XmlQueryType CheckEq(QilBinary node) 544public static XmlQueryType CheckGt(QilBinary node) 549public static XmlQueryType CheckGe(QilBinary node) 554public static XmlQueryType CheckLt(QilBinary node) 559public static XmlQueryType CheckLe(QilBinary node) 570public static XmlQueryType CheckIs(QilBinary node) 577public static XmlQueryType CheckAfter(QilBinary node) 582public static XmlQueryType CheckBefore(QilBinary node) 593public static XmlQueryType CheckLoop(QilLoop node) 598XmlQueryType bodyType = node.Body.XmlType!; 605public static XmlQueryType CheckFilter(QilLoop node) 612XmlQueryType? filterType = FindFilterType(node.Variable, node.Body); 625public static XmlQueryType CheckSort(QilLoop node) 627XmlQueryType varType = node.Variable.Binding!.XmlType!; 636public static XmlQueryType CheckSortKey(QilSortKey node) 643public static XmlQueryType CheckDocOrderDistinct(QilUnary node) 655public static XmlQueryType CheckFunction(QilFunction node) 663public static XmlQueryType CheckInvoke(QilInvoke node) 685public static XmlQueryType CheckContent(QilUnary node) 691public static XmlQueryType CheckAttribute(QilBinary node) 698public static XmlQueryType CheckParent(QilUnary node) 704public static XmlQueryType CheckRoot(QilUnary node) 710public static XmlQueryType CheckXmlContext() 715public static XmlQueryType CheckDescendant(QilUnary node) 721public static XmlQueryType CheckDescendantOrSelf(QilUnary node) 727public static XmlQueryType CheckAncestor(QilUnary node) 733public static XmlQueryType CheckAncestorOrSelf(QilUnary node) 739public static XmlQueryType CheckPreceding(QilUnary node) 745public static XmlQueryType CheckFollowingSibling(QilUnary node) 751public static XmlQueryType CheckPrecedingSibling(QilUnary node) 757public static XmlQueryType CheckNodeRange(QilBinary node) 764public static XmlQueryType CheckDeref(QilBinary node) 777public static XmlQueryType CheckElementCtor(QilBinary node) 784public static XmlQueryType CheckAttributeCtor(QilBinary node) 791public static XmlQueryType CheckCommentCtor(QilUnary node) 797public static XmlQueryType CheckPICtor(QilBinary node) 804public static XmlQueryType CheckTextCtor(QilUnary node) 810public static XmlQueryType CheckRawTextCtor(QilUnary node) 816public static XmlQueryType CheckDocumentCtor(QilUnary node) 822public static XmlQueryType CheckNamespaceDecl(QilBinary node) 829public static XmlQueryType CheckRtfCtor(QilBinary node) 842public static XmlQueryType CheckNameOf(QilUnary node) 848public static XmlQueryType CheckLocalNameOf(QilUnary node) 854public static XmlQueryType CheckNamespaceUriOf(QilUnary node) 860public static XmlQueryType CheckPrefixOf(QilUnary node) 875public static XmlQueryType CheckTypeAssert(QilTargetType node) 881public static XmlQueryType CheckIsType(QilTargetType node) 887public static XmlQueryType CheckIsEmpty() 898public static XmlQueryType CheckXPathNodeValue(QilUnary node) 904public static XmlQueryType CheckXPathFollowing(QilUnary node) 910public static XmlQueryType CheckXPathPreceding(QilUnary node) 916public static XmlQueryType CheckXPathNamespace(QilUnary node) 928public static XmlQueryType CheckXsltGenerateId(QilUnary node) 934public static XmlQueryType CheckXsltInvokeLateBound(QilInvokeLateBound node) 941public static XmlQueryType CheckXsltInvokeEarlyBound(QilInvokeEarlyBound node) 961public static XmlQueryType CheckXsltCopy(QilBinary node) 968public static XmlQueryType CheckXsltCopyOf(QilUnary node) 978public static XmlQueryType CheckXsltConvert(QilTargetType node) 1020private static void CheckXmlType(QilNode node, XmlQueryType xmlType) 1050private static XmlQueryType DistinctType(XmlQueryType type) 1061private static XmlQueryType? FindFilterType(QilIterator variable, QilNode body) 1063XmlQueryType? leftType;
System\Xml\Xsl\QIL\QilValidationVisitor.cs (1)
67XmlQueryType type = QilTypeChecker.Check(parent);
System\Xml\Xsl\QIL\QilXmlWriter.cs (1)
233this.writer.WriteString(((XmlQueryType)value).ToString((this.options & Options.TypeInfo) != 0 ? "G" : "S"));
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (6)
72private XmlQueryType[]? _argXmlTypes; // XmlQueryType array for extension function arguments 73private XmlQueryType? _retXmlType; // XmlQueryType for extension function return value 149public XmlQueryType GetXmlArgumentType(int index) 157public XmlQueryType? XmlReturnType 246_argXmlTypes = new XmlQueryType[paramInfo.Length]; 341private static XmlQueryType InferXmlType(Type clrType)
System\Xml\Xsl\Runtime\XmlQueryContext.cs (1)
259XmlQueryType xmlTypeFormalArg;
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (6)
47private readonly XmlQueryType[]? _types; 460internal XmlQueryType GetXmlType(int idxType) 478internal static object ChangeTypeXsltArgument(XmlQueryType xmlType, object value, Type destinationType) 574internal object ChangeTypeXsltResult(XmlQueryType xmlType, object? value) 703XmlQueryType typBase = GetXmlType(indexType); 785private static XmlQueryType CreateXmlType(XPathItem item)
System\Xml\Xsl\Runtime\XmlQueryStaticData.cs (4)
30private readonly XmlQueryType[]? _types; 144_types = new XmlQueryType[length]; 272foreach (XmlQueryType type in _types) 371public XmlQueryType[]? Types
System\Xml\Xsl\Runtime\XsltConvert.cs (2)
250internal static XmlAtomicValue ConvertToType(XmlAtomicValue value, XmlQueryType destinationType) 348internal static XmlQueryType InferXsltType(Type clrType)
System\Xml\Xsl\XmlQueryType.cs (22)
21internal abstract class XmlQueryType : ListBase<XmlQueryType> 77public abstract XmlQueryType Prime { get; } 96public bool IsSubtypeOf(XmlQueryType baseType) 98XmlQueryType thisPrime, basePrime; 118foreach (XmlQueryType thisItem in thisPrime) 122foreach (XmlQueryType baseItem in basePrime) 141public bool NeverSubtypeOf(XmlQueryType baseType) 156foreach (XmlQueryType typThis in this) 158foreach (XmlQueryType typThat in baseType) 171public bool Equals([NotNullWhen(true)] XmlQueryType? that) 181XmlQueryType thisPrime = Prime; 182XmlQueryType thatPrime = that.Prime; 203foreach (XmlQueryType thisItem in this) 207foreach (XmlQueryType thatItem in that) 231public static bool operator ==(XmlQueryType? left, XmlQueryType? right) 242public static bool operator !=(XmlQueryType? left, XmlQueryType? right) 324XmlQueryType? that = obj as XmlQueryType; 485private bool IsSubtypeOfItemType(XmlQueryType baseType) 526private bool HasIntersectionItemType(XmlQueryType other)
System\Xml\Xsl\XmlQueryTypeFactory.cs (128)
31public static XmlQueryType Type(XmlTypeCode code, bool isStrict) 42public static XmlQueryType Type(XmlSchemaSimpleType schemaType, bool isStrict) 65XmlQueryType[] queryMemberTypes = new XmlQueryType[baseMemberTypes!.Length]; 79public static XmlQueryType Choice(XmlQueryType left, XmlQueryType right) 81return SequenceType.Create(ChoiceType.Create(PrimeChoice(new List<XmlQueryType>(left), right)), left.Cardinality | right.Cardinality); 89public static XmlQueryType Choice(params XmlQueryType[] types) 97List<XmlQueryType> list = new List<XmlQueryType>(types[0]); 114public static XmlQueryType NodeChoice(XmlNodeKindFlags kinds) 125public static XmlQueryType Sequence(XmlQueryType left, XmlQueryType right) 127return SequenceType.Create(ChoiceType.Create(PrimeChoice(new List<XmlQueryType>(left), right)), left.Cardinality + right.Cardinality); 152public static XmlQueryType PrimeProduct(XmlQueryType t, XmlQueryCardinality c) 167public static XmlQueryType AtMost(XmlQueryType t, XmlQueryCardinality c) 183public static readonly XmlQueryType None = ChoiceType.None; 184public static readonly XmlQueryType Empty = SequenceType.Zero; 186public static readonly XmlQueryType Item = TF.Type(XmlTypeCode.Item, false); 187public static readonly XmlQueryType ItemS = TF.PrimeProduct(Item, XmlQueryCardinality.ZeroOrMore); 188public static readonly XmlQueryType Node = TF.Type(XmlTypeCode.Node, false); 189public static readonly XmlQueryType NodeS = TF.PrimeProduct(Node, XmlQueryCardinality.ZeroOrMore); 190public static readonly XmlQueryType Element = TF.Type(XmlTypeCode.Element, false); 191public static readonly XmlQueryType ElementS = TF.PrimeProduct(Element, XmlQueryCardinality.ZeroOrMore); 192public static readonly XmlQueryType Document = TF.Type(XmlTypeCode.Document, false); 193public static readonly XmlQueryType DocumentS = TF.PrimeProduct(Document, XmlQueryCardinality.ZeroOrMore); 194public static readonly XmlQueryType Attribute = TF.Type(XmlTypeCode.Attribute, false); 195public static readonly XmlQueryType AttributeQ = TF.PrimeProduct(Attribute, XmlQueryCardinality.ZeroOrOne); 196public static readonly XmlQueryType AttributeS = TF.PrimeProduct(Attribute, XmlQueryCardinality.ZeroOrMore); 197public static readonly XmlQueryType Namespace = TF.Type(XmlTypeCode.Namespace, false); 198public static readonly XmlQueryType NamespaceS = TF.PrimeProduct(Namespace, XmlQueryCardinality.ZeroOrMore); 199public static readonly XmlQueryType Text = TF.Type(XmlTypeCode.Text, false); 200public static readonly XmlQueryType TextS = TF.PrimeProduct(Text, XmlQueryCardinality.ZeroOrMore); 201public static readonly XmlQueryType Comment = TF.Type(XmlTypeCode.Comment, false); 202public static readonly XmlQueryType CommentS = TF.PrimeProduct(Comment, XmlQueryCardinality.ZeroOrMore); 203public static readonly XmlQueryType PI = TF.Type(XmlTypeCode.ProcessingInstruction, false); 204public static readonly XmlQueryType PIS = TF.PrimeProduct(PI, XmlQueryCardinality.ZeroOrMore); 205public static readonly XmlQueryType DocumentOrElement = TF.Choice(Document, Element); 206public static readonly XmlQueryType DocumentOrElementQ = TF.PrimeProduct(DocumentOrElement, XmlQueryCardinality.ZeroOrOne); 207public static readonly XmlQueryType DocumentOrElementS = TF.PrimeProduct(DocumentOrElement, XmlQueryCardinality.ZeroOrMore); 208public static readonly XmlQueryType Content = TF.Choice(Element, Comment, PI, Text); 209public static readonly XmlQueryType ContentS = TF.PrimeProduct(Content, XmlQueryCardinality.ZeroOrMore); 210public static readonly XmlQueryType DocumentOrContent = TF.Choice(Document, Content); 211public static readonly XmlQueryType DocumentOrContentS = TF.PrimeProduct(DocumentOrContent, XmlQueryCardinality.ZeroOrMore); 212public static readonly XmlQueryType AttributeOrContent = TF.Choice(Attribute, Content); 213public static readonly XmlQueryType AttributeOrContentS = TF.PrimeProduct(AttributeOrContent, XmlQueryCardinality.ZeroOrMore); 214public static readonly XmlQueryType AnyAtomicType = TF.Type(XmlTypeCode.AnyAtomicType, false); 215public static readonly XmlQueryType AnyAtomicTypeS = TF.PrimeProduct(AnyAtomicType, XmlQueryCardinality.ZeroOrMore); 216public static readonly XmlQueryType String = TF.Type(XmlTypeCode.String, false); 217public static readonly XmlQueryType StringX = TF.Type(XmlTypeCode.String, true); 218public static readonly XmlQueryType StringXS = TF.PrimeProduct(StringX, XmlQueryCardinality.ZeroOrMore); 219public static readonly XmlQueryType Boolean = TF.Type(XmlTypeCode.Boolean, false); 220public static readonly XmlQueryType BooleanX = TF.Type(XmlTypeCode.Boolean, true); 221public static readonly XmlQueryType Int = TF.Type(XmlTypeCode.Int, false); 222public static readonly XmlQueryType IntX = TF.Type(XmlTypeCode.Int, true); 223public static readonly XmlQueryType IntXS = TF.PrimeProduct(IntX, XmlQueryCardinality.ZeroOrMore); 224public static readonly XmlQueryType IntegerX = TF.Type(XmlTypeCode.Integer, true); 225public static readonly XmlQueryType LongX = TF.Type(XmlTypeCode.Long, true); 226public static readonly XmlQueryType DecimalX = TF.Type(XmlTypeCode.Decimal, true); 227public static readonly XmlQueryType FloatX = TF.Type(XmlTypeCode.Float, true); 228public static readonly XmlQueryType Double = TF.Type(XmlTypeCode.Double, false); 229public static readonly XmlQueryType DoubleX = TF.Type(XmlTypeCode.Double, true); 230public static readonly XmlQueryType DateTimeX = TF.Type(XmlTypeCode.DateTime, true); 231public static readonly XmlQueryType QNameX = TF.Type(XmlTypeCode.QName, true); 232public static readonly XmlQueryType UntypedDocument = ItemType.UntypedDocument; 233public static readonly XmlQueryType UntypedElement = ItemType.UntypedElement; 234public static readonly XmlQueryType UntypedAttribute = ItemType.UntypedAttribute; 235public static readonly XmlQueryType UntypedNode = TF.Choice(UntypedDocument, UntypedElement, UntypedAttribute, Namespace, Text, Comment, PI); 236public static readonly XmlQueryType UntypedNodeS = TF.PrimeProduct(UntypedNode, XmlQueryCardinality.ZeroOrMore); 237public static readonly XmlQueryType NodeNotRtf = ItemType.NodeNotRtf; 238public static readonly XmlQueryType NodeNotRtfQ = TF.PrimeProduct(NodeNotRtf, XmlQueryCardinality.ZeroOrOne); 239public static readonly XmlQueryType NodeNotRtfS = TF.PrimeProduct(NodeNotRtf, XmlQueryCardinality.ZeroOrMore); 240public static readonly XmlQueryType NodeSDod = TF.PrimeProduct(NodeNotRtf, XmlQueryCardinality.ZeroOrMore); 251private static List<XmlQueryType> PrimeChoice(List<XmlQueryType> accumulator, IList<XmlQueryType> types) 253foreach (XmlQueryType sourceItem in types) 263private static void AddItemToChoice(List<XmlQueryType> accumulator, XmlQueryType itemType) 326public static readonly XmlQueryType UntypedDocument; 327public static readonly XmlQueryType UntypedElement; 328public static readonly XmlQueryType UntypedAttribute; 329public static readonly XmlQueryType NodeNotRtf; 331private static readonly XmlQueryType[] s_builtInItemTypes; 332private static readonly XmlQueryType[] s_builtInItemTypesStrict; 333private static readonly XmlQueryType[] s_specialBuiltInItemTypes; 357s_builtInItemTypes = new XmlQueryType[typeCount]; 358s_builtInItemTypesStrict = new XmlQueryType[typeCount]; 416s_specialBuiltInItemTypes = new XmlQueryType[4] { UntypedDocument, UntypedElement, UntypedAttribute, NodeNotRtf }; 423public static XmlQueryType Create(XmlTypeCode code, bool isStrict) 435public static XmlQueryType Create(XmlSchemaSimpleType schemaType, bool isStrict) 454public static XmlQueryType Create(XmlTypeCode code, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable) 562public static XmlQueryType Create(BinaryReader reader) 651public override XmlQueryType Prime 671public override XmlQueryType this[int index] 690public static readonly XmlQueryType None = new ChoiceType(new List<XmlQueryType>()); 695private readonly List<XmlQueryType> _members; 700public static XmlQueryType Create(XmlNodeKindFlags nodeKinds) 702List<XmlQueryType> members; 711members = new List<XmlQueryType>(); 725public static XmlQueryType Create(List<XmlQueryType> members) 739private ChoiceType(List<XmlQueryType> members) 748XmlQueryType t = members[i]; 823public static XmlQueryType Create(BinaryReader reader) 826List<XmlQueryType> members = new List<XmlQueryType>(length); 929public override XmlQueryType Prime 949public override XmlQueryType this[int index] 962public static readonly XmlQueryType Zero = new SequenceType(ChoiceType.None, XmlQueryCardinality.Zero); 964private readonly XmlQueryType _prime; 970public static XmlQueryType Create(XmlQueryType prime, XmlQueryCardinality card) 1002private SequenceType(XmlQueryType prime, XmlQueryCardinality card) 1028public static XmlQueryType Create(BinaryReader reader) 1033XmlQueryType prime = TF.Deserialize(reader); 1117public override XmlQueryType Prime 1137public override XmlQueryType this[int index] 1152public static XmlQueryType Type(XPathNodeType kind, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable) 1162public static void CheckSerializability(XmlQueryType type) 1170public static void Serialize(BinaryWriter writer, XmlQueryType type) 1193public static XmlQueryType Deserialize(BinaryReader reader)
System\Xml\Xsl\XPath\XPathBuilder.cs (4)
215XmlQueryType leftType = left.XmlType!; 216XmlQueryType rightType = right.XmlType!; 248XmlQueryType leftType = left.XmlType!; 249XmlQueryType rightType = right.XmlType!;
System\Xml\Xsl\XPath\XPathQilFactory.cs (3)
39XmlQueryType? xt = n.XmlType; 90XmlQueryType xt = n.XmlType!; 97XmlQueryType xt = n.XmlType!;
System\Xml\Xsl\Xslt\InvokeGenerator.cs (2)
76XmlQueryType formalType = formalArg.XmlType!; 77XmlQueryType invokeType = invokeArg.XmlType!;
System\Xml\Xsl\Xslt\MatcherBuilder.cs (2)
410private QilNode MatchPatterns(QilIterator it, XmlQueryType xt, List<Pattern> patternList, QilNode otherwise) 469private QilNode MatchPatterns(QilIterator it, XmlQueryType xt, PatternBag patternBag, QilNode otherwise)
System\Xml\Xsl\Xslt\QilGenerator.cs (7)
73private readonly XmlQueryType _elementOrDocumentType; 74private readonly XmlQueryType _textOrAttributeType; 403private XmlQueryType ChooseBestType(VarPar var) 633private QilParameter CreateXslParam(QilName name, XmlQueryType xt) 2224XmlQueryType xt = ChooseBestType(varPar); 2576XmlQueryType paramType = formalArgs[invArg].XmlType!; 2586XmlQueryType valueType = value.XmlType!;
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (2)
88XmlQueryType varType = var.XmlType!; 239XmlQueryType xmlTypeFormalArg;
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1142XmlQueryType? xt = scrFunc.XmlReturnType;
System\Xml\Xsl\Xslt\XsltQilFactory.cs (1)
22XmlQueryType xt = n.XmlType!;