1 override of XmlType
System.Private.Xml (1)
System\Xml\Xsl\QIL\QilList.cs (1)
43
public override XmlQueryType
XmlType
99 writes to XmlType
System.Private.Xml (99)
System\Xml\Xsl\QIL\QilFactory.cs (95)
27
n.
XmlType
= QilTypeChecker.CheckQilExpression(n);
157
n.
XmlType
= QilTypeChecker.CheckOptimizeBarrier(n);
165
n.
XmlType
= QilTypeChecker.CheckUnknown(n);
179
n.
XmlType
= QilTypeChecker.CheckDataSource(n);
187
n.
XmlType
= QilTypeChecker.CheckNop(n);
195
n.
XmlType
= QilTypeChecker.CheckError(n);
203
n.
XmlType
= QilTypeChecker.CheckWarning(n);
217
n.
XmlType
= QilTypeChecker.CheckFor(n);
225
n.
XmlType
= QilTypeChecker.CheckLet(n);
233
n.
XmlType
= QilTypeChecker.CheckParameter(n);
241
n.
XmlType
= QilTypeChecker.CheckPositionOf();
255
n.
XmlType
= QilTypeChecker.CheckTrue();
263
n.
XmlType
= QilTypeChecker.CheckFalse();
271
n.
XmlType
= QilTypeChecker.CheckLiteralString(n);
279
n.
XmlType
= QilTypeChecker.CheckLiteralInt32(n);
287
n.
XmlType
= QilTypeChecker.CheckLiteralInt64(n);
295
n.
XmlType
= QilTypeChecker.CheckLiteralDouble(n);
303
n.
XmlType
= QilTypeChecker.CheckLiteralDecimal(n);
311
n.
XmlType
= QilTypeChecker.CheckLiteralQName(n);
319
n.
XmlType
= QilTypeChecker.CheckLiteralType(n);
327
n.
XmlType
= QilTypeChecker.CheckLiteralObject(n);
341
n.
XmlType
= QilTypeChecker.CheckAnd(n);
349
n.
XmlType
= QilTypeChecker.CheckOr(n);
357
n.
XmlType
= QilTypeChecker.CheckNot(n);
371
n.
XmlType
= QilTypeChecker.CheckConditional(n);
379
n.
XmlType
= QilTypeChecker.CheckChoice(n);
393
n.
XmlType
= QilTypeChecker.CheckLength();
409
n.
XmlType
= QilTypeChecker.CheckUnion(n);
417
n.
XmlType
= QilTypeChecker.CheckIntersection(n);
425
n.
XmlType
= QilTypeChecker.CheckDifference(n);
433
n.
XmlType
= QilTypeChecker.CheckSum(n);
447
n.
XmlType
= QilTypeChecker.CheckNegate(n);
455
n.
XmlType
= QilTypeChecker.CheckAdd(n);
463
n.
XmlType
= QilTypeChecker.CheckSubtract(n);
471
n.
XmlType
= QilTypeChecker.CheckMultiply(n);
479
n.
XmlType
= QilTypeChecker.CheckDivide(n);
487
n.
XmlType
= QilTypeChecker.CheckModulo(n);
501
n.
XmlType
= QilTypeChecker.CheckStrLength(n);
509
n.
XmlType
= QilTypeChecker.CheckStrConcat(n);
517
n.
XmlType
= QilTypeChecker.CheckStrParseQName(n);
531
n.
XmlType
= QilTypeChecker.CheckNe(n);
539
n.
XmlType
= QilTypeChecker.CheckEq(n);
547
n.
XmlType
= QilTypeChecker.CheckGt(n);
555
n.
XmlType
= QilTypeChecker.CheckGe(n);
563
n.
XmlType
= QilTypeChecker.CheckLt(n);
571
n.
XmlType
= QilTypeChecker.CheckLe(n);
585
n.
XmlType
= QilTypeChecker.CheckIs(n);
593
n.
XmlType
= QilTypeChecker.CheckBefore(n);
607
n.
XmlType
= QilTypeChecker.CheckLoop(n);
615
n.
XmlType
= QilTypeChecker.CheckFilter(n);
629
n.
XmlType
= QilTypeChecker.CheckSort(n);
637
n.
XmlType
= QilTypeChecker.CheckSortKey(n);
645
n.
XmlType
= QilTypeChecker.CheckDocOrderDistinct(n);
659
n.
XmlType
= QilTypeChecker.CheckFunction(n);
667
n.
XmlType
= QilTypeChecker.CheckInvoke(n);
681
n.
XmlType
= QilTypeChecker.CheckContent(n);
689
n.
XmlType
= QilTypeChecker.CheckAttribute(n);
697
n.
XmlType
= QilTypeChecker.CheckParent(n);
705
n.
XmlType
= QilTypeChecker.CheckRoot(n);
713
n.
XmlType
= QilTypeChecker.CheckXmlContext();
721
n.
XmlType
= QilTypeChecker.CheckDescendant(n);
729
n.
XmlType
= QilTypeChecker.CheckDescendantOrSelf(n);
737
n.
XmlType
= QilTypeChecker.CheckAncestor(n);
745
n.
XmlType
= QilTypeChecker.CheckAncestorOrSelf(n);
753
n.
XmlType
= QilTypeChecker.CheckPreceding(n);
761
n.
XmlType
= QilTypeChecker.CheckFollowingSibling(n);
769
n.
XmlType
= QilTypeChecker.CheckPrecedingSibling(n);
777
n.
XmlType
= QilTypeChecker.CheckNodeRange(n);
785
n.
XmlType
= QilTypeChecker.CheckDeref(n);
799
n.
XmlType
= QilTypeChecker.CheckElementCtor(n);
807
n.
XmlType
= QilTypeChecker.CheckAttributeCtor(n);
815
n.
XmlType
= QilTypeChecker.CheckCommentCtor(n);
823
n.
XmlType
= QilTypeChecker.CheckPICtor(n);
831
n.
XmlType
= QilTypeChecker.CheckTextCtor(n);
839
n.
XmlType
= QilTypeChecker.CheckRawTextCtor(n);
847
n.
XmlType
= QilTypeChecker.CheckDocumentCtor(n);
855
n.
XmlType
= QilTypeChecker.CheckNamespaceDecl(n);
863
n.
XmlType
= QilTypeChecker.CheckRtfCtor(n);
877
n.
XmlType
= QilTypeChecker.CheckNameOf(n);
885
n.
XmlType
= QilTypeChecker.CheckLocalNameOf(n);
893
n.
XmlType
= QilTypeChecker.CheckNamespaceUriOf(n);
901
n.
XmlType
= QilTypeChecker.CheckPrefixOf(n);
915
n.
XmlType
= QilTypeChecker.CheckTypeAssert(n);
923
n.
XmlType
= QilTypeChecker.CheckIsType(n);
931
n.
XmlType
= QilTypeChecker.CheckIsEmpty();
945
n.
XmlType
= QilTypeChecker.CheckXPathNodeValue(n);
953
n.
XmlType
= QilTypeChecker.CheckXPathFollowing(n);
961
n.
XmlType
= QilTypeChecker.CheckXPathPreceding(n);
969
n.
XmlType
= QilTypeChecker.CheckXPathNamespace(n);
983
n.
XmlType
= QilTypeChecker.CheckXsltGenerateId(n);
991
n.
XmlType
= QilTypeChecker.CheckXsltInvokeLateBound(n);
999
n.
XmlType
= QilTypeChecker.CheckXsltInvokeEarlyBound(n);
1007
n.
XmlType
= QilTypeChecker.CheckXsltCopy(n);
1015
n.
XmlType
= QilTypeChecker.CheckXsltCopyOf(n);
1023
n.
XmlType
= QilTypeChecker.CheckXsltConvert(n);
System\Xml\Xsl\QIL\QilReplaceVisitor.cs (1)
83
node.
XmlType
= newType;
System\Xml\Xsl\XPath\XPathBuilder.cs (1)
345
qilAxis.
XmlType
= T.PrimeProduct(T.NodeChoice(required), qilAxis.XmlType!.Cardinality);
System\Xml\Xsl\Xslt\QilGenerator.cs (1)
2698
filter.
XmlType
= T.ContentS; // not attribute
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (1)
115
filter.
XmlType
= T.PrimeProduct(T.NodeChoice(intersection), filter.XmlType!.Cardinality);
454 references to XmlType
System.Private.Xml (454)
System\Xml\Xsl\IlGen\OptimizerPatterns.cs (4)
77
if (!nd.
XmlType
!.MaybeMany)
94
else if (nd.
XmlType
.IsDod)
141
if (!nd.
XmlType
!.MaybeMany)
146
else if (nd.
XmlType
.IsDod)
System\Xml\Xsl\IlGen\TailCallAnalyzer.cs (1)
53
if (ndLoop.Variable.NodeType == QilNodeType.Let || !ndLoop.Variable.Binding!.
XmlType
!.MaybeMany)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (6)
598
XmlQueryType typ = ndLoop.
XmlType
!;
682
XmlQueryType typ = ndCopy.
XmlType
!;
825
if (ndLoop.
XmlType
!.MaybeMany)
826
CheckAttributeNamespaceConstruct(ndLoop.
XmlType
);
844
CheckAttributeNamespaceConstruct(ndCopy.
XmlType
!);
895
CheckAttributeNamespaceConstruct(ndAttr.
XmlType
!);
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (174)
290
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
301
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
332
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
349
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
367
if (((((local0).
XmlType
)!.IsSingleton) && (!(IsGlobalVariable(local0)))) && (this[XmlILOptimization.NormalizeSingletonLet]))
406
if (((local2).
XmlType
)!.IsSingleton)
439
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
450
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
512
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
523
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
584
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
628
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
739
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
764
if ((((local1).
XmlType
)!.IsSingleton) && (!OptimizerPatterns.Read(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects)))
825
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
836
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
940
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
951
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
1041
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1052
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
1141
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1152
if (((local1).
XmlType
)!.Cardinality == XmlQueryCardinality.Zero)
1169
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1180
if (((local1).
XmlType
)!.Cardinality == XmlQueryCardinality.Zero)
1197
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1208
if (((local1).
XmlType
)!.Cardinality == XmlQueryCardinality.Zero)
1225
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1236
if (((local1).
XmlType
)!.Cardinality == XmlQueryCardinality.Zero)
1256
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1322
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1333
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
1379
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1390
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
1422
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1433
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
1479
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1490
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
1522
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1533
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
1567
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1597
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1608
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
1617
if ((((local2).
XmlType
)!.IsSingleton) && (this[XmlILOptimization.EliminateStrConcatSingle]))
1658
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1669
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
1690
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1701
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
1747
if ((IsPrimitiveNumeric((local3).
XmlType
)) && (IsPrimitiveNumeric(local5)))
1749
if ((IsLiteral((local2))) && (CanFoldXsltConvertNonLossy(local2, (local3).
XmlType
!)))
1754
return Replace(XmlILOptimization.NormalizeXsltConvertNe, local0, VisitNe(f.Ne(local3, FoldXsltConvert(local2, (local3).
XmlType
!))));
1766
if (((local3).
XmlType
)!.IsSingleton)
1771
if (((local4).
XmlType
)!.IsSingleton)
1826
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
1837
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
1883
if ((IsPrimitiveNumeric((local3).
XmlType
)) && (IsPrimitiveNumeric(local5)))
1885
if ((IsLiteral((local2))) && (CanFoldXsltConvertNonLossy(local2, (local3).
XmlType
!)))
1890
return Replace(XmlILOptimization.NormalizeXsltConvertEq, local0, VisitEq(f.Eq(local3, FoldXsltConvert(local2, (local3).
XmlType
!))));
1921
if (((local3).
XmlType
)!.IsSingleton)
1926
if (((local4).
XmlType
)!.IsSingleton)
1943
if (((local3).
XmlType
)!.IsSingleton)
1955
if (!((local7).
XmlType
)!.MaybeMany)
1989
if (!((local6).
XmlType
)!.MaybeMany)
1999
if (((local9).
XmlType
)!.IsSingleton)
2025
if ((((local4).
XmlType
)!.IsSingleton) && (!((local5).
XmlType
)!.MaybeMany))
2053
if ((!((local4).
XmlType
)!.MaybeMany) && (((local5).
XmlType
)!.IsSingleton))
2096
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
2107
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
2153
if ((IsPrimitiveNumeric((local3).
XmlType
)) && (IsPrimitiveNumeric(local5)))
2155
if ((IsLiteral((local2))) && (CanFoldXsltConvertNonLossy(local2, (local3).
XmlType
!)))
2160
return Replace(XmlILOptimization.NormalizeXsltConvertGt, local0, VisitGt(f.Gt(local3, FoldXsltConvert(local2, (local3).
XmlType
!))));
2210
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
2221
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
2267
if ((IsPrimitiveNumeric((local3).
XmlType
)) && (IsPrimitiveNumeric(local5)))
2269
if ((IsLiteral((local2))) && (CanFoldXsltConvertNonLossy(local2, (local3).
XmlType
!)))
2274
return Replace(XmlILOptimization.NormalizeXsltConvertGe, local0, VisitGe(f.Ge(local3, FoldXsltConvert(local2, (local3).
XmlType
!))));
2305
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
2316
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
2362
if ((IsPrimitiveNumeric((local3).
XmlType
)) && (IsPrimitiveNumeric(local5)))
2364
if ((IsLiteral((local2))) && (CanFoldXsltConvertNonLossy(local2, (local3).
XmlType
!)))
2369
return Replace(XmlILOptimization.NormalizeXsltConvertLt, local0, VisitLt(f.Lt(local3, FoldXsltConvert(local2, (local3).
XmlType
!))));
2400
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
2411
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
2457
if ((IsPrimitiveNumeric((local3).
XmlType
)) && (IsPrimitiveNumeric(local5)))
2459
if ((IsLiteral((local2))) && (CanFoldXsltConvertNonLossy(local2, (local3).
XmlType
!)))
2464
return Replace(XmlILOptimization.NormalizeXsltConvertLe, local0, VisitLe(f.Le(local3, FoldXsltConvert(local2, (local3).
XmlType
!))));
2498
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
2509
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
2538
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
2549
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
2578
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
2589
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
2621
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
2699
if (((local3).
XmlType
!).IsSingleton)
2715
if ((((local1).NodeType == QilNodeType.Let) || ((((QilNode)(local1)[0]).
XmlType
!).IsSingleton)) && (!OptimizerPatterns.Read(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects)))
2853
if (!((local3).
XmlType
!).MaybeMany)
2934
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
2945
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
3270
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
3284
if (((local3).
XmlType
)!.IsSingleton)
3310
if ((((local3).
XmlType
) == (XmlQueryTypeFactory.IntX)) && ((local5) == (XmlQueryTypeFactory.DoubleX)))
3329
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
3481
if ((!OptimizerPatterns.Read(local2).MatchesPattern(OptimizerPatternName.IsPositional)) && ((local3).
XmlType
!.IsSubtypeOf(XmlQueryTypeFactory.NodeNotRtfS)))
3603
if (((local0).
XmlType
!.IsSubtypeOf(XmlQueryTypeFactory.NodeS)) && (this[XmlILOptimization.AnnotateIndex1]))
3605
if (((local1.Count == 2) && (((QilNode)(local1)[0]).
XmlType
!.IsSubtypeOf(XmlQueryTypeFactory.Node))) && ((((QilNode)(local1)[1]).
XmlType
) == (XmlQueryTypeFactory.StringX)))
3674
if (((local0).
XmlType
.IsSubtypeOf(XmlQueryTypeFactory.NodeS)) && (this[XmlILOptimization.AnnotateIndex2]))
3676
if (((local1.Count == 2) && ((((QilNode)(local1)[0]).
XmlType
) == (XmlQueryTypeFactory.Node))) && ((((QilNode)(local1)[1]).
XmlType
) == (XmlQueryTypeFactory.StringX)))
3773
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
3799
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
3810
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
3835
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
3860
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
3885
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
3910
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
3935
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
3960
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
3985
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4010
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4035
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4061
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4072
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
4098
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4109
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
4130
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4141
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
4169
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4180
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
4205
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4231
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4242
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
4267
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4292
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4317
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4343
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4354
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
4387
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4429
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4446
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4463
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4480
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4501
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4515
if ((local1).
XmlType
!.NeverSubtypeOf(local3))
4530
if ((local1).
XmlType
!.Prime.NeverSubtypeOf(local3.Prime))
4545
if ((local1).
XmlType
!.IsSubtypeOf(local3))
4564
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4580
if ((local1).
XmlType
!.IsSubtypeOf(local3))
4598
if ((local1).
XmlType
!.NeverSubtypeOf(local3))
4614
if ((local1).
XmlType
!.Prime.NeverSubtypeOf(local3.Prime))
4631
if ((local1).
XmlType
!.IsSubtypeOf(local3))
4649
if ((local1).
XmlType
!.NeverSubtypeOf(local3))
4668
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4693
if ((!((local1).
XmlType
)!.MaybeEmpty) && (!OptimizerPatterns.Read(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects)))
4704
if (!((local1).
XmlType
)!.MaybeEmpty)
4724
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4741
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4766
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4791
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4819
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4837
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4848
if ((object?)((local2).
XmlType
) == (object)XmlQueryTypeFactory.None)
4873
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4899
if ((object?)((local1).
XmlType
) == (object)XmlQueryTypeFactory.None)
4931
if (((local1).
XmlType
) == (local3))
5206
if (nd.
XmlType
!.IsNode)
5246
return !((QilInvoke)nd).Function.
XmlType
!.IsAtomicValue;
5380
ndDest = FoldXsltConvert(ndDest, ndLiteral.
XmlType
!);
5400
XmlAtomicValue value = new XmlAtomicValue(ndLiteral.
XmlType
!.SchemaType, ExtractLiteralValue(ndLiteral));
5432
Debug.Assert(left.
XmlType
== right.
XmlType
, $"Comparison is not defined between {left.
XmlType
} and {right.
XmlType
}");
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (93)
103
iterInfo.Storage = StorageDescriptor.Global(methGlobal, GetItemStorageType(iter), !iter.
XmlType
!.IsSingleton);
127
isCached = !iter.
XmlType
!.IsSingleton;
149
Debug.Assert(iter.
XmlType
== TypeFactory.ItemS, "IlGen currently only supports parameters of type item*.");
232
iterInfo.Storage = StorageDescriptor.Parameter(paramId, GetItemStorageType(iter), !iter.
XmlType
!.IsSingleton);
253
Debug.Assert(iter.
XmlType
== TypeFactory.ItemS, "IlGen currently only supports default values in parameters of type item*.");
267
NestedVisitEnsureStack(iter.Binding, GetItemStorageType(iter), /*isCached:*/!iter.
XmlType
.IsSingleton);
281
NestedVisitEnsureStack(ndFunc.Definition, GetItemStorageType(ndFunc), !ndFunc.
XmlType
!.IsSingleton);
318
Debug.Assert(nd.
XmlType
!.IsSingleton || CachesResult(nd) || _iterCurr.HasLabelNext,
361
XmlQueryType typ = nd.
XmlType
!;
374
_iterCurr.EnsureItemStorageType(nd.
XmlType
!, typeof(XPathItem));
380
_iterCurr.EnsureItemStorageType(nd.
XmlType
!, typeof(XPathItem));
912
Debug.Assert(ndCond.Left.
XmlType
!.TypeCode == XmlTypeCode.Boolean);
915
if (ndCond.
XmlType
!.IsSingleton)
947
if (!ndCond.
XmlType
.IsSingleton)
949
Debug.Assert(!ndCond.Center.
XmlType
!.IsSingleton || !ndCond.Right.
XmlType
!.IsSingleton);
981
Debug.Assert(ndBranch.
XmlType
!.IsSingleton, "Conditional must produce a singleton");
998
_iterCurr.EnsureItemStorageType(ndBranch.
XmlType
!, itemStorageType);
1173
if (nd.
XmlType
!.IsSingleton)
1218
_iterCurr.EnsureItemStorageType(ndSeq[i].
XmlType
!, itemStorageType);
1329
if (ndSet.
XmlType
!.IsSingleton)
1401
_iterCurr.EnsureItemStorageType(ndAgg.
XmlType
!, GetItemStorageType(ndAgg));
1412
if (ndAgg.
XmlType
!.MaybeEmpty)
1433
_helper.CallArithmeticOp(QilNodeType.Negate, ndNeg.
XmlType
!.TypeCode);
1484
_helper.CallArithmeticOp(ndOp.NodeType, ndOp.
XmlType
!.TypeCode);
1509
Debug.Assert(!ndStrConcat.Values.
XmlType
!.IsSingleton, "Optimizer should have folded StrConcat of a singleton value");
1525
if (!ndStr.
XmlType
!.IsSingleton)
1592
_iterCurr.EnsureItemStorageType(ndStr.
XmlType
!, typeof(string));
1627
if (ndParsedTagName.Right.
XmlType
!.TypeCode == XmlTypeCode.String)
1630
Debug.Assert(ndParsedTagName.Right.
XmlType
.IsSingleton);
1713
Debug.Assert(ndComp.Left.
XmlType
!.IsAtomicValue && ndComp.Right.
XmlType
!.IsAtomicValue, "Operands to compare must be atomic values.");
1714
Debug.Assert(ndComp.Left.
XmlType
.IsSingleton && ndComp.Right.
XmlType
.IsSingleton, "Operands to compare must be cardinality one.");
1715
Debug.Assert(ndComp.Left.
XmlType
== ndComp.Right.
XmlType
, "Operands to compare may not be heterogenous.");
1737
code = ndComp.Left.
XmlType
.TypeCode;
2076
_iterCurr.EnsureItemStorageType(nodes.
XmlType
!, typeof(XPathNavigator));
2117
if (ndIter.NodeType == QilNodeType.For || ndIter.
XmlType
!.IsSingleton)
2141
Debug.Assert(ndFor.
XmlType
!.IsSingleton);
2203
Debug.Assert(!ndLet.
XmlType
!.IsSingleton);
2209
NestedVisit(ndLet.Binding!, GetItemStorageType(ndLet), !ndLet.
XmlType
.IsSingleton);
2290
_iterCurr.EnsureItemStorageType(ndSort.Variable.
XmlType
!, GetItemStorageType(ndSort.Variable));
2330
Debug.Assert(ndKey.Key.
XmlType
!.IsAtomicValue, "Sort key must be an atomic value.");
2347
if (ndKey.
XmlType
!.IsSingleton)
2352
_helper.AddSortKey(ndKey.Key.
XmlType
);
2360
_iterCurr.EnsureItemStorageType(ndKey.Key.
XmlType
, GetItemStorageType(ndKey.Key));
2364
_helper.AddSortKey(ndKey.Key.
XmlType
);
2388
if (ndDod.
XmlType
!.IsSingleton)
2438
kinds = ((ndDod.
XmlType
!.NodeKinds & XmlNodeKindFlags.Attribute) != 0) ? XmlNodeKindFlags.Any : XmlNodeKindFlags.Content;
2562
NestedVisitEnsureStack(ndActualArg, GetItemStorageType(ndFormalArg), !ndFormalArg.
XmlType
!.IsSingleton);
2575
_iterCurr.Storage = StorageDescriptor.Stack(GetItemStorageType(ndInvoke), !ndInvoke.
XmlType
!.IsSingleton);
3149
if (!ndTypeAssert.Source.
XmlType
!.IsSingleton && ndTypeAssert.
XmlType
!.IsSingleton && !_iterCurr.HasLabelNext)
3167
_iterCurr.EnsureItemStorageType(ndTypeAssert.Source.
XmlType
, GetItemStorageType(ndTypeAssert));
3179
typDerived = ndIsType.Source.
XmlType
!;
3439
Debug.Assert(ndVal.Child.
XmlType
!.IsNode, "XPathNodeValue node may only be applied to a sequence of Nodes.");
3442
if (ndVal.Child.
XmlType
.IsSingleton)
3517
if (ndGenId.Child.
XmlType
!.IsSingleton)
3533
_iterCurr.EnsureItemStorageType(ndGenId.Child.
XmlType
, typeof(XPathNavigator));
3620
if (clrTypeRetSrc != clrTypeRetDst && !ndInvoke.
XmlType
!.IsEmpty)
3623
_helper.LoadInteger(_helper.StaticData.DeclareXmlType(ndInvoke.
XmlType
));
3649
Debug.Assert(ndActualArg.
XmlType
!.IsSubtypeOf(xmlTypeFormalArg), "Xml type of actual arg must be a subtype of the Xml type of the formal arg");
3670
else if ((ndActualArg.
XmlType
.IsSingleton && clrTypeFormalArg == itemType) || ndActualArg.
XmlType
.TypeCode == XmlTypeCode.None)
3675
else if (ndActualArg.
XmlType
.IsSingleton && clrTypeFormalArg == typeof(XPathItem))
3711
if (ndInvoke.
XmlType
!.IsEmpty)
3734
_iterCurr.Storage = StorageDescriptor.Stack(GetItemStorageType(ndInvoke), !ndInvoke.
XmlType
.IsSingleton);
3751
Debug.Assert(ndCopy.Left.
XmlType
!.IsNode);
3763
Debug.Assert(ndCopy.Left.
XmlType
.IsNode);
3799
typSrc = ndConv.Source.
XmlType
!;
3811
Debug.Fail($"Conversion from {ndConv.Source.
XmlType
} to {ndConv.TargetType} is not supported.");
4059
_iterCurr.EnsureNoStackNoCache(nd.
XmlType
!.IsNode ? "$$$navInput" : "$$$itemInput");
4076
if (nd.
XmlType
.IsSingleton)
4105
Debug.Assert(ndName.
XmlType
!.TypeCode == XmlTypeCode.QName, "Element or attribute name must have QName type.");
4176
if ((ndName as QilBinary)!.Right.
XmlType
!.TypeCode == XmlTypeCode.String)
4229
ZeroCompare(relOp, ndSecond.
XmlType
!.TypeCode == XmlTypeCode.Boolean);
4428
if (!info.PushToWriterLast || nd.
XmlType
!.IsSingleton)
4456
if (nd.
XmlType
!.IsSingleton)
4697
nd.
XmlType
!.TypeCode == XmlTypeCode.None,
4707
_iterCurr.EnsureItemStorageType(nd.
XmlType
!, typeof(bool));
4742
else if (!isCached && nd.
XmlType
!.IsSingleton)
4748
_iterCurr.EnsureItemStorageType(nd.
XmlType
, itemStorageType);
4763
NestedVisit(nd, GetItemStorageType(nd), !nd.
XmlType
!.IsSingleton);
4776
_iterCurr.EnsureItemStorageType(nd.
XmlType
!, GetItemStorageType(nd));
4825
Debug.Assert(nd.
XmlType
!.IsSingleton && !XmlILConstructInfo.Read(nd).PushToWriterLast);
4863
_iterCurr.EnsureItemStorageType(nd.
XmlType
!, itemStorageType);
4879
if (nd.
XmlType
!.IsSingleton)
4902
_iterCurr.EnsureItemStorageType(nd.
XmlType
, cacheType);
4934
return !nd.
XmlType
!.IsSingleton;
4942
if (nd.
XmlType
!.IsSingleton)
4963
return XmlILTypeHelper.GetStorageType(nd.
XmlType
!);
4979
return XmlILTypeHelper.GetStorageType(nd.
XmlType
!.Prime);
System\Xml\Xsl\QIL\QilList.cs (3)
56
xt = XmlQueryTypeFactory.Sequence(xt, _members[i].
XmlType
!);
62
xt = _members[0].
XmlType
!;
64
xt = XmlQueryTypeFactory.Choice(xt, _members[i].
XmlType
!);
System\Xml\Xsl\QIL\QilPatternFactory.cs (4)
229
Debug.Assert(arg.
XmlType
!.TypeCode == XmlTypeCode.Boolean && arg.
XmlType
.IsSingleton,
446
if (values.
XmlType
!.IsSingleton)
601
return _f.Function(args, defn, sideEffects, defn.
XmlType
!);
System\Xml\Xsl\QIL\QilReplaceVisitor.cs (3)
34
XmlQueryType oldParentType = parent.
XmlType
!;
41
XmlQueryType? oldChildType = oldChild?.
XmlType
;
50
if ((object?)oldChild != (object)newChild || (newChild != null && (object?)oldChildType != (object?)newChild.
XmlType
))
System\Xml\Xsl\QIL\QilTypeChecker.cs (65)
226
return node.Child.
XmlType
!;
231
return node.
XmlType
!;
249
return node.Child.
XmlType
!;
272
return node.Binding!.
XmlType
!.Prime;
277
return node.Binding!.
XmlType
!;
282
Check(node.Binding == null || node.Binding.
XmlType
!.IsSubtypeOf(node.
XmlType
!), node, "Parameter binding's xml type must be a subtype of the parameter's type");
283
return node.
XmlType
!;
390
return XmlQueryTypeFactory.Choice(node.Center.
XmlType
!, node.Right.
XmlType
!);
421
return DistinctType(XmlQueryTypeFactory.Sequence(node.Left.
XmlType
!, node.Right.
XmlType
!));
433
return XmlQueryTypeFactory.AtMost(node.Left.
XmlType
!, node.Left.
XmlType
!.Cardinality);
438
XmlQueryType xmlType = node.Child.
XmlType
!;
467
return node.Child.
XmlType
!;
475
return node.Left.
XmlType
!.TypeCode == XmlTypeCode.None ? node.Right.
XmlType
! : node.Left.
XmlType
!;
520
Check(node.Right.
XmlType
!.IsSubtypeOf(XmlQueryTypeFactory.StringX) || node.Right.
XmlType
.IsSubtypeOf(XmlQueryTypeFactory.NamespaceS),
598
XmlQueryType bodyType = node.Body.
XmlType
!;
599
XmlQueryCardinality variableCard = node.Variable.NodeType == QilNodeType.Let ? XmlQueryCardinality.One : node.Variable.Binding!.
XmlType
!.Cardinality;
616
return XmlQueryTypeFactory.AtMost(node.Variable.Binding!.
XmlType
!, node.Variable.Binding.
XmlType
!.Cardinality);
627
XmlQueryType varType = node.Variable.Binding!.
XmlType
!;
640
return node.Key.
XmlType
!;
646
return DistinctType(node.Child.
XmlType
!);
659
Check(node.Definition.
XmlType
!.IsSubtypeOf(node.
XmlType
!), node, "Function definition's xml type must be a subtype of the function's return type");
660
return node.
XmlType
!;
673
Check(actualArgs[i].
XmlType
!.IsSubtypeOf(formalArgs[i].
XmlType
!), actualArgs[i], "Invoke argument must be a subtype of the invoked function's argument");
676
return node.Function.
XmlType
!;
724
return XmlQueryTypeFactory.Choice(node.Child.
XmlType
!, XmlQueryTypeFactory.ContentS);
736
return XmlQueryTypeFactory.Choice(node.Child.
XmlType
!, XmlQueryTypeFactory.DocumentOrElementS);
761
return XmlQueryTypeFactory.Choice(node.Left.
XmlType
!, XmlQueryTypeFactory.ContentS, node.Right.
XmlType
!);
954
Check(actualArgs[i].
XmlType
!.IsSubtypeOf(extFunc.GetXmlArgumentType(i)), actualArgs[i], "InvokeEarlyBound argument must be a subtype of the invoked function's argument type");
958
return node.
XmlType
!;
965
return XmlQueryTypeFactory.Choice(node.Left.
XmlType
!, node.Right.
XmlType
!);
972
if ((node.Child.
XmlType
!.NodeKinds & XmlNodeKindFlags.Document) != 0)
975
return node.Child.
XmlType
;
1022
Check(node.
XmlType
!.IsSubtypeOf(xmlType), node, $"Node's type {node.
XmlType
} is not a subtype of {xmlType}");
1028
Check(node.
XmlType
!.IsNumeric && node.
XmlType
.IsSingleton && node.
XmlType
.IsStrict, node, $"Node's type {node.
XmlType
} must be a strict singleton numeric type");
1034
Check(node.
XmlType
!.IsNumeric && node.
XmlType
.IsStrict, node, $"Node's type {node.
XmlType
} must be a strict numeric type");
1040
Check(node.
XmlType
!.IsAtomicValue && node.
XmlType
.IsStrict, node, $"Node's type {node.
XmlType
} must be a strict atomic value type");
1046
Check(node.Left.
XmlType
!.IsSubtypeOf(node.Right.
XmlType
!) || node.Right.
XmlType
!.IsSubtypeOf(node.Left.
XmlType
), node,
1047
$"Node must not have arguments with disjoint types {node.Left.
XmlType
} and {node.Right.
XmlType
}");
1066
if (body.
XmlType
!.TypeCode == XmlTypeCode.None)
1077
return XmlQueryTypeFactory.AtMost(((QilTargetType)body).TargetType, variable.Binding!.
XmlType
!.Cardinality);
1094
return XmlQueryTypeFactory.AtMost(variable.Binding!.
XmlType
!, XmlQueryCardinality.ZeroOrOne);
System\Xml\Xsl\QIL\QilValidationVisitor.cs (2)
61
if (parent.
XmlType
== null)
70
if (!type.IsSubtypeOf(parent.
XmlType
))
System\Xml\Xsl\QIL\QilXmlWriter.cs (1)
137
this.writer.WriteAttributeString("xmlType", node.
XmlType
!.ToString((this.options & Options.RoundTripTypeInfo) != 0 ? "S" : "G"));
System\Xml\Xsl\XmlIlGenerator.cs (3)
213
paramTypes[arg] = XmlILTypeHelper.GetStorageType(ndParam.
XmlType
!);
229
typReturn = XmlILTypeHelper.GetStorageType(ndFunc.
XmlType
!);
259
typReturn = XmlILTypeHelper.GetStorageType(ndRef.
XmlType
!);
System\Xml\Xsl\XPath\XPathBuilder.cs (19)
81
if (result.
XmlType
!.MaybeMany && result.
XmlType
.IsNode && result.
XmlType
.IsNotRtf)
148
Debug.Assert(compType == XmlTypeCode.Boolean || left.
XmlType
!.IsSingleton && right.
XmlType
!.IsSingleton, "Both comparison operands must be singletons");
169
Debug.Assert(val.
XmlType
!.IsSingleton);
171
if (compType == XmlTypeCode.Boolean || nodeset.
XmlType
!.IsSingleton)
198
if (right.
XmlType
!.IsSingleton)
202
if (left.
XmlType
!.IsSingleton)
215
XmlQueryType leftType = left.
XmlType
!;
216
XmlQueryType rightType = right.
XmlType
!;
248
XmlQueryType leftType = left.
XmlType
!;
249
XmlQueryType rightType = right.
XmlType
!;
330
XmlNodeKindFlags original = qilAxis.
XmlType
!.NodeKinds;
345
qilAxis.XmlType = T.PrimeProduct(T.NodeChoice(required), qilAxis.
XmlType
!.Cardinality);
477
if (predicate.
XmlType
!.TypeCode == XmlTypeCode.Double)
614
if (arg.
XmlType
!.IsSingleton)
628
if (arg.
XmlType
!.IsSingleton)
660
if (arg.
XmlType
!.IsSingleton)
System\Xml\Xsl\XPath\XPathQilFactory.cs (28)
39
XmlQueryType? xt = n.
XmlType
;
48
Debug.Assert(n != null && n.
XmlType
!.IsSingleton && n.
XmlType
.IsNode, "Must be a singleton node");
54
Debug.Assert(n != null && n.
XmlType
!.IsNode, "Must be a node-set");
60
Debug.Assert(n != null && n.
XmlType
!.IsSingleton && n.
XmlType
.IsNode && n.
XmlType
.IsNotRtf, "Must be a singleton node and not an Rtf");
66
Debug.Assert(n != null && n.
XmlType
!.IsSubtypeOf(T.StringX), "Must be a singleton string");
72
Debug.Assert(n != null && n.
XmlType
!.IsSubtypeOf(T.StringXS), "Must be a sequence of strings");
78
Debug.Assert(n != null && n.
XmlType
!.IsSubtypeOf(T.DoubleX), "Must be a singleton Double");
84
Debug.Assert(n != null && n.
XmlType
!.IsSubtypeOf(T.BooleanX), "Must be a singleton Bool");
90
XmlQueryType xt = n.
XmlType
!;
97
XmlQueryType xt = n.
XmlType
!;
170
Debug.Assert(IsAnyType(n), $"Unexpected expression type: {n.
XmlType
}");
189
switch (n.
XmlType
!.TypeCode)
205
if (n.
XmlType
.IsNode)
218
switch (n.
XmlType
!.TypeCode)
235
if (n.
XmlType
.IsNode)
248
switch (n.
XmlType
!.TypeCode)
261
if (n.
XmlType
.IsNode)
273
if (n.
XmlType
!.IsNode && n.
XmlType
.IsNotRtf && n.
XmlType
.IsSingleton)
282
if (n.
XmlType
!.IsNode && n.
XmlType
.IsNotRtf)
293
if (n.
XmlType
!.IsNode && n.
XmlType
.IsNotRtf)
330
if (id.
XmlType
!.IsSingleton)
System\Xml\Xsl\Xslt\InvokeGenerator.cs (2)
76
XmlQueryType formalType = formalArg.
XmlType
!;
77
XmlQueryType invokeType = invokeArg.
XmlType
!;
System\Xml\Xsl\Xslt\MatcherBuilder.cs (1)
182
XmlNodeKindFlags nodeKinds = isType.Right.
XmlType
!.NodeKinds;
System\Xml\Xsl\Xslt\QilGenerator.cs (19)
436
Debug.Assert(var.
XmlType
!.IsSubtypeOf(T.NamespaceS));
552
QilParameter formal = _f.Parameter(args[j].
XmlType
!);
1300
if ((node.
XmlType
!.NodeKinds & InvalidatingNodes) != XmlNodeKindFlags.None)
1304
if (node.
XmlType
.NodeKinds == XmlNodeKindFlags.Element)
1316
else if (node.
XmlType
.NodeKinds == XmlNodeKindFlags.Document)
1322
else if ((node.
XmlType
.NodeKinds & (XmlNodeKindFlags.Element | XmlNodeKindFlags.Document)) == XmlNodeKindFlags.None)
1338
if (selectExpr.
XmlType
!.IsNode)
1340
if ((selectExpr.
XmlType
.NodeKinds & InvalidatingNodes) != XmlNodeKindFlags.None)
1345
if (selectExpr.
XmlType
.IsNotRtf && (selectExpr.
XmlType
.NodeKinds & XmlNodeKindFlags.Document) == XmlNodeKindFlags.None)
1352
if (selectExpr.
XmlType
.IsSingleton)
1362
else if (selectExpr.
XmlType
.IsAtomicValue)
1718
Debug.Assert(result.
XmlType
== T.StringX);
1854
XmlNodeKindFlags nodeKinds = current.
XmlType
!.NodeKinds;
2576
XmlQueryType paramType = formalArgs[invArg].
XmlType
!;
2586
XmlQueryType valueType = value.
XmlType
!;
2670
QilParameter formalArg = _f.Parameter(i == 0 ? T.NodeNotRtf : withParam.Value!.
XmlType
!);
2824
Debug.Assert(nsVar.
XmlType
!.IsSubtypeOf(T.NamespaceS));
2825
if (nsVar.
XmlType
.Cardinality == XmlQueryCardinality.One)
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (15)
88
XmlQueryType varType = var.
XmlType
!;
380
if (keys.
XmlType
!.IsNode)
382
if (keys.
XmlType
.IsSingleton)
391
else if (keys.
XmlType
.IsAtomicValue)
409
Debug.Assert(name.
XmlType
== T.StringX && key.
XmlType
== T.StringX);
501
if (uris.
XmlType
!.IsNode)
507
else if (uris.
XmlType
.IsAtomicValue)
539
if (baseNode.
XmlType
!.IsSingleton)
632
if (n.
XmlType
!.IsSingleton)
725
if (n.
XmlType
!.IsNode && n.
XmlType
.IsNotRtf)
741
switch (n.
XmlType
!.TypeCode)
747
if (n.
XmlType
.IsNode && n.
XmlType
.IsNotRtf)
System\Xml\Xsl\Xslt\QilStrConcatenator.cs (1)
61
Debug.Assert(value.
XmlType
!.TypeCode == XmlTypeCode.String);
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (6)
53
Debug.Assert(filter.Variable.
XmlType
!.IsSubtypeOf(T.NodeNotRtf));
55
Debug.Assert(filter.Body.
XmlType
!.IsSubtypeOf(T.Boolean));
106
XmlNodeKindFlags intersection = XPathBuilder.AxisTypeMask(itr.
XmlType
!.NodeKinds, nodeType, xpathAxis);
110
intersection == itr.
XmlType
.NodeKinds ? f.True() : // input is subset of required
115
filter.XmlType = T.PrimeProduct(T.NodeChoice(intersection), filter.
XmlType
!.Cardinality);
282
nodeFilter.Body = _f.And(_f.IsType(current, nodeFilter.
XmlType
!), nodeFilter.Body);
System\Xml\Xsl\Xslt\XsltQilFactory.cs (4)
22
XmlQueryType xt = n.
XmlType
!;
45
Debug.Assert(n != null && n.
XmlType
!.IsSubtypeOf(T.QNameX), "Must be a singleton QName");
122
value.
XmlType
!.IsSubtypeOf(T.IntXS) ||
123
value.
XmlType
.IsSubtypeOf(T.DoubleX)),