1 override of XmlType
System.Data.SqlXml (1)
System\Xml\Xsl\QIL\QilList.cs (1)
44
public override XmlQueryType
XmlType
{
104 writes to XmlType
System.Data.SqlXml (104)
System\Xml\Xsl\QIL\QilFactory.cs (100)
35
n.
XmlType
= this.typeCheck.CheckQilExpression(n);
124
n.
XmlType
= this.typeCheck.CheckQilExpression(n);
180
n.
XmlType
= this.typeCheck.CheckOptimizeBarrier(n);
187
n.
XmlType
= this.typeCheck.CheckUnknown(n);
200
n.
XmlType
= this.typeCheck.CheckDataSource(n);
207
n.
XmlType
= this.typeCheck.CheckNop(n);
214
n.
XmlType
= this.typeCheck.CheckError(n);
221
n.
XmlType
= this.typeCheck.CheckWarning(n);
234
n.
XmlType
= this.typeCheck.CheckFor(n);
241
n.
XmlType
= this.typeCheck.CheckLet(n);
248
n.
XmlType
= this.typeCheck.CheckParameter(n);
255
n.
XmlType
= this.typeCheck.CheckPositionOf(n);
268
n.
XmlType
= this.typeCheck.CheckTrue(n);
275
n.
XmlType
= this.typeCheck.CheckFalse(n);
282
n.
XmlType
= this.typeCheck.CheckLiteralString(n);
289
n.
XmlType
= this.typeCheck.CheckLiteralInt32(n);
296
n.
XmlType
= this.typeCheck.CheckLiteralInt64(n);
303
n.
XmlType
= this.typeCheck.CheckLiteralDouble(n);
310
n.
XmlType
= this.typeCheck.CheckLiteralDecimal(n);
317
n.
XmlType
= this.typeCheck.CheckLiteralQName(n);
324
n.
XmlType
= this.typeCheck.CheckLiteralType(n);
331
n.
XmlType
= this.typeCheck.CheckLiteralObject(n);
344
n.
XmlType
= this.typeCheck.CheckAnd(n);
351
n.
XmlType
= this.typeCheck.CheckOr(n);
358
n.
XmlType
= this.typeCheck.CheckNot(n);
371
n.
XmlType
= this.typeCheck.CheckConditional(n);
378
n.
XmlType
= this.typeCheck.CheckChoice(n);
391
n.
XmlType
= this.typeCheck.CheckLength(n);
405
n.
XmlType
= this.typeCheck.CheckUnion(n);
412
n.
XmlType
= this.typeCheck.CheckIntersection(n);
419
n.
XmlType
= this.typeCheck.CheckDifference(n);
426
n.
XmlType
= this.typeCheck.CheckAverage(n);
433
n.
XmlType
= this.typeCheck.CheckSum(n);
440
n.
XmlType
= this.typeCheck.CheckMinimum(n);
447
n.
XmlType
= this.typeCheck.CheckMaximum(n);
460
n.
XmlType
= this.typeCheck.CheckNegate(n);
467
n.
XmlType
= this.typeCheck.CheckAdd(n);
474
n.
XmlType
= this.typeCheck.CheckSubtract(n);
481
n.
XmlType
= this.typeCheck.CheckMultiply(n);
488
n.
XmlType
= this.typeCheck.CheckDivide(n);
495
n.
XmlType
= this.typeCheck.CheckModulo(n);
508
n.
XmlType
= this.typeCheck.CheckStrLength(n);
515
n.
XmlType
= this.typeCheck.CheckStrConcat(n);
522
n.
XmlType
= this.typeCheck.CheckStrParseQName(n);
535
n.
XmlType
= this.typeCheck.CheckNe(n);
542
n.
XmlType
= this.typeCheck.CheckEq(n);
549
n.
XmlType
= this.typeCheck.CheckGt(n);
556
n.
XmlType
= this.typeCheck.CheckGe(n);
563
n.
XmlType
= this.typeCheck.CheckLt(n);
570
n.
XmlType
= this.typeCheck.CheckLe(n);
583
n.
XmlType
= this.typeCheck.CheckIs(n);
590
n.
XmlType
= this.typeCheck.CheckAfter(n);
597
n.
XmlType
= this.typeCheck.CheckBefore(n);
610
n.
XmlType
= this.typeCheck.CheckLoop(n);
617
n.
XmlType
= this.typeCheck.CheckFilter(n);
630
n.
XmlType
= this.typeCheck.CheckSort(n);
637
n.
XmlType
= this.typeCheck.CheckSortKey(n);
644
n.
XmlType
= this.typeCheck.CheckDocOrderDistinct(n);
657
n.
XmlType
= this.typeCheck.CheckFunction(n);
664
n.
XmlType
= this.typeCheck.CheckInvoke(n);
677
n.
XmlType
= this.typeCheck.CheckContent(n);
684
n.
XmlType
= this.typeCheck.CheckAttribute(n);
691
n.
XmlType
= this.typeCheck.CheckParent(n);
698
n.
XmlType
= this.typeCheck.CheckRoot(n);
705
n.
XmlType
= this.typeCheck.CheckXmlContext(n);
712
n.
XmlType
= this.typeCheck.CheckDescendant(n);
719
n.
XmlType
= this.typeCheck.CheckDescendantOrSelf(n);
726
n.
XmlType
= this.typeCheck.CheckAncestor(n);
733
n.
XmlType
= this.typeCheck.CheckAncestorOrSelf(n);
740
n.
XmlType
= this.typeCheck.CheckPreceding(n);
747
n.
XmlType
= this.typeCheck.CheckFollowingSibling(n);
754
n.
XmlType
= this.typeCheck.CheckPrecedingSibling(n);
761
n.
XmlType
= this.typeCheck.CheckNodeRange(n);
768
n.
XmlType
= this.typeCheck.CheckDeref(n);
781
n.
XmlType
= this.typeCheck.CheckElementCtor(n);
788
n.
XmlType
= this.typeCheck.CheckAttributeCtor(n);
795
n.
XmlType
= this.typeCheck.CheckCommentCtor(n);
802
n.
XmlType
= this.typeCheck.CheckPICtor(n);
809
n.
XmlType
= this.typeCheck.CheckTextCtor(n);
816
n.
XmlType
= this.typeCheck.CheckRawTextCtor(n);
823
n.
XmlType
= this.typeCheck.CheckDocumentCtor(n);
830
n.
XmlType
= this.typeCheck.CheckNamespaceDecl(n);
837
n.
XmlType
= this.typeCheck.CheckRtfCtor(n);
850
n.
XmlType
= this.typeCheck.CheckNameOf(n);
857
n.
XmlType
= this.typeCheck.CheckLocalNameOf(n);
864
n.
XmlType
= this.typeCheck.CheckNamespaceUriOf(n);
871
n.
XmlType
= this.typeCheck.CheckPrefixOf(n);
884
n.
XmlType
= this.typeCheck.CheckTypeAssert(n);
891
n.
XmlType
= this.typeCheck.CheckIsType(n);
898
n.
XmlType
= this.typeCheck.CheckIsEmpty(n);
911
n.
XmlType
= this.typeCheck.CheckXPathNodeValue(n);
918
n.
XmlType
= this.typeCheck.CheckXPathFollowing(n);
925
n.
XmlType
= this.typeCheck.CheckXPathPreceding(n);
932
n.
XmlType
= this.typeCheck.CheckXPathNamespace(n);
945
n.
XmlType
= this.typeCheck.CheckXsltGenerateId(n);
952
n.
XmlType
= this.typeCheck.CheckXsltInvokeLateBound(n);
959
n.
XmlType
= this.typeCheck.CheckXsltInvokeEarlyBound(n);
966
n.
XmlType
= this.typeCheck.CheckXsltCopy(n);
973
n.
XmlType
= this.typeCheck.CheckXsltCopyOf(n);
980
n.
XmlType
= this.typeCheck.CheckXsltConvert(n);
System\Xml\Xsl\QIL\QilReplaceVisitor.cs (1)
81
node.
XmlType
= newType;
System\Xml\Xsl\XPath\XPathBuilder.cs (1)
287
qilAxis.
XmlType
= T.PrimeProduct(T.NodeChoice(required), qilAxis.XmlType.Cardinality);
System\Xml\Xsl\Xslt\QilGenerator.cs (1)
2253
filter.
XmlType
= T.ContentS; // not attribute
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (1)
108
filter.
XmlType
= T.PrimeProduct(T.NodeChoice(intersection), filter.XmlType.Cardinality);
452 references to XmlType
System.Data.SqlXml (452)
System\Xml\Xsl\IlGen\OptimizerPatterns.cs (4)
75
if (!nd.
XmlType
.MaybeMany) {
89
else if (nd.
XmlType
.IsDod) {
128
if (!nd.
XmlType
.MaybeMany) {
132
else if (nd.
XmlType
.IsDod) {
System\Xml\Xsl\IlGen\TailCallAnalyzer.cs (1)
51
if (ndLoop.Variable.NodeType == QilNodeType.Let || !ndLoop.Variable.Binding.
XmlType
.MaybeMany)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (6)
546
XmlQueryType typ = ndLoop.
XmlType
;
625
XmlQueryType typ = ndCopy.
XmlType
;
756
if (ndLoop.
XmlType
.MaybeMany)
757
CheckAttributeNamespaceConstruct(ndLoop.
XmlType
);
770
CheckAttributeNamespaceConstruct(ndCopy.
XmlType
);
813
CheckAttributeNamespaceConstruct(ndAttr.
XmlType
);
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (175)
259
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
267
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
291
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
304
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
319
if ((( ( (local0).
XmlType
).IsSingleton ) && (!( IsGlobalVariable(local0) ))) && (this[XmlILOptimization.NormalizeSingletonLet])) {
347
if ( ( (local2).
XmlType
).IsSingleton ) {
373
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
381
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
427
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
435
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
480
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
514
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
599
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
617
if (( ( (local1).
XmlType
).IsSingleton ) && ( !OptimizerPatterns.Read(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects) )) {
665
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
673
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
747
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
755
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
820
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
828
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
892
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
900
if ( ( (local1).
XmlType
).Cardinality == XmlQueryCardinality.Zero ) {
913
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
921
if ( ( (local1).
XmlType
).Cardinality == XmlQueryCardinality.Zero ) {
934
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
942
if ( ( (local1).
XmlType
).Cardinality == XmlQueryCardinality.Zero ) {
955
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
963
if ( ( (local1).
XmlType
).Cardinality == XmlQueryCardinality.Zero ) {
979
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1029
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1037
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1071
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1079
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1103
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1111
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1145
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1153
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1177
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1185
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1211
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1234
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1242
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1249
if (( ( (local2).
XmlType
).IsSingleton ) && (this[XmlILOptimization.EliminateStrConcatSingle])) {
1281
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1289
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1306
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1314
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1347
if (( IsPrimitiveNumeric( (local3).
XmlType
) ) && ( IsPrimitiveNumeric(local5) )) {
1348
if (( IsLiteral((local2)) ) && ( CanFoldXsltConvertNonLossy(local2, (local3).
XmlType
) )) {
1351
return Replace(XmlILOptimization.NormalizeXsltConvertNe, local0, VisitNe(f.Ne(local3, FoldXsltConvert(local2, (local3).
XmlType
) )));
1361
if ( ( (local3).
XmlType
).IsSingleton ) {
1364
if ( ( (local4).
XmlType
).IsSingleton ) {
1405
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1413
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1446
if (( IsPrimitiveNumeric( (local3).
XmlType
) ) && ( IsPrimitiveNumeric(local5) )) {
1447
if (( IsLiteral((local2)) ) && ( CanFoldXsltConvertNonLossy(local2, (local3).
XmlType
) )) {
1450
return Replace(XmlILOptimization.NormalizeXsltConvertEq, local0, VisitEq(f.Eq(local3, FoldXsltConvert(local2, (local3).
XmlType
) )));
1474
if ( ( (local3).
XmlType
).IsSingleton ) {
1477
if ( ( (local4).
XmlType
).IsSingleton ) {
1490
if ( ( (local3).
XmlType
).IsSingleton ) {
1498
if ( !( (local7).
XmlType
).MaybeMany ) {
1524
if ( !( (local6).
XmlType
).MaybeMany ) {
1530
if ( ( (local9).
XmlType
).IsSingleton ) {
1551
if (( ( (local4).
XmlType
).IsSingleton ) && ( !( (local5).
XmlType
).MaybeMany )) {
1572
if (( !( (local4).
XmlType
).MaybeMany ) && ( ( (local5).
XmlType
).IsSingleton )) {
1604
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1612
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1645
if (( IsPrimitiveNumeric( (local3).
XmlType
) ) && ( IsPrimitiveNumeric(local5) )) {
1646
if (( IsLiteral((local2)) ) && ( CanFoldXsltConvertNonLossy(local2, (local3).
XmlType
) )) {
1649
return Replace(XmlILOptimization.NormalizeXsltConvertGt, local0, VisitGt(f.Gt(local3, FoldXsltConvert(local2, (local3).
XmlType
) )));
1687
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1695
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1728
if (( IsPrimitiveNumeric( (local3).
XmlType
) ) && ( IsPrimitiveNumeric(local5) )) {
1729
if (( IsLiteral((local2)) ) && ( CanFoldXsltConvertNonLossy(local2, (local3).
XmlType
) )) {
1732
return Replace(XmlILOptimization.NormalizeXsltConvertGe, local0, VisitGe(f.Ge(local3, FoldXsltConvert(local2, (local3).
XmlType
) )));
1756
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1764
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1797
if (( IsPrimitiveNumeric( (local3).
XmlType
) ) && ( IsPrimitiveNumeric(local5) )) {
1798
if (( IsLiteral((local2)) ) && ( CanFoldXsltConvertNonLossy(local2, (local3).
XmlType
) )) {
1801
return Replace(XmlILOptimization.NormalizeXsltConvertLt, local0, VisitLt(f.Lt(local3, FoldXsltConvert(local2, (local3).
XmlType
) )));
1825
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1833
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1866
if (( IsPrimitiveNumeric( (local3).
XmlType
) ) && ( IsPrimitiveNumeric(local5) )) {
1867
if (( IsLiteral((local2)) ) && ( CanFoldXsltConvertNonLossy(local2, (local3).
XmlType
) )) {
1870
return Replace(XmlILOptimization.NormalizeXsltConvertLe, local0, VisitLe(f.Le(local3, FoldXsltConvert(local2, (local3).
XmlType
) )));
1897
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1905
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1927
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1935
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1957
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1965
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
1990
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2046
if ( ( (local3).
XmlType
).IsSingleton ) {
2058
if ((( (local1).NodeType == QilNodeType.Let ) || ( ( ( (QilNode) (local1)[0] ).
XmlType
).IsSingleton )) && ( !OptimizerPatterns.Read(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects) )) {
2160
if ( !( (local3).
XmlType
).MaybeMany ) {
2215
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2223
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2459
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2469
if ( ( (local3).
XmlType
).IsSingleton ) {
2489
if (( ( (local3).
XmlType
) == ( XmlQueryTypeFactory.IntX ) ) && ( (local5) == ( XmlQueryTypeFactory.DoubleX ) )) {
2504
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2618
if (( !OptimizerPatterns.Read(local2).MatchesPattern(OptimizerPatternName.IsPositional) ) && ( (local3).
XmlType
.IsSubtypeOf( XmlQueryTypeFactory.NodeNotRtfS ) )) {
2708
XmlQueryType local4 = (XmlQueryType)((QilFunction)local0).
XmlType
;
2709
if (( (local0).
XmlType
.IsSubtypeOf( XmlQueryTypeFactory.NodeS ) ) && (this[XmlILOptimization.AnnotateIndex1])) {
2710
if ((( local1.Count == 2 ) && ( ( (QilNode) (local1)[0] ).
XmlType
.IsSubtypeOf( XmlQueryTypeFactory.Node ) )) && ( ( ( (QilNode) (local1)[1] ).
XmlType
) == ( XmlQueryTypeFactory.StringX ) )) {
2765
if (( (local0).
XmlType
.IsSubtypeOf( XmlQueryTypeFactory.NodeS ) ) && (this[XmlILOptimization.AnnotateIndex2])) {
2766
if ((( local1.Count == 2 ) && ( ( ( (QilNode) (local1)[0] ).
XmlType
) == ( XmlQueryTypeFactory.Node ) )) && ( ( ( (QilNode) (local1)[1] ).
XmlType
) == ( XmlQueryTypeFactory.StringX ) )) {
2840
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2859
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2867
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2885
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2903
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2921
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2939
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2957
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2975
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
2993
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3011
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3029
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3048
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3056
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3075
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3083
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3100
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3108
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3130
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3138
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3157
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3177
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3185
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3204
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3223
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3242
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3262
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3270
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3296
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3329
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3342
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3355
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3368
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3385
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3395
if ( (local1).
XmlType
.NeverSubtypeOf(local3) ) {
3406
if ( (local1).
XmlType
.Prime .NeverSubtypeOf( local3.Prime ) ) {
3417
if ( (local1).
XmlType
.IsSubtypeOf(local3) ) {
3432
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3443
if ( (local1).
XmlType
.IsSubtypeOf(local3) ) {
3456
if ( (local1).
XmlType
.NeverSubtypeOf(local3) ) {
3468
if ( (local1).
XmlType
.Prime .NeverSubtypeOf( local3.Prime ) ) {
3480
if ( (local1).
XmlType
.IsSubtypeOf(local3) ) {
3493
if ( (local1).
XmlType
.NeverSubtypeOf(local3) ) {
3508
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3526
if (( !( (local1).
XmlType
).MaybeEmpty ) && ( !OptimizerPatterns.Read(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects) )) {
3534
if ( !( (local1).
XmlType
).MaybeEmpty ) {
3550
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3563
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3581
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3599
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3620
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3634
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3642
if ( (object) ( (local2).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3661
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3681
if ( (object) ( (local1).
XmlType
) == (object) XmlQueryTypeFactory.None ) {
3704
if ( ( (local1).
XmlType
) == (local3) ) {
3949
if (nd.
XmlType
.IsNode) {
3986
return !((QilInvoke) nd).Function.
XmlType
.IsAtomicValue;
4106
ndDest = FoldXsltConvert(ndDest, ndLiteral.
XmlType
);
4123
XmlAtomicValue value = new XmlAtomicValue(ndLiteral.
XmlType
.SchemaType, ExtractLiteralValue(ndLiteral));
4154
Debug.Assert(left.
XmlType
== right.
XmlType
, "Comparison is not defined between " + left.
XmlType
+ " and " + right.
XmlType
);
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (93)
95
iterInfo.Storage = StorageDescriptor.Global(methGlobal, GetItemStorageType(iter), !iter.
XmlType
.IsSingleton);
117
isCached = !iter.
XmlType
.IsSingleton;
138
Debug.Assert(iter.
XmlType
== TypeFactory.ItemS, "IlGen currently only supports parameters of type item*.");
217
iterInfo.Storage = StorageDescriptor.Parameter(paramId, GetItemStorageType(iter), !iter.
XmlType
.IsSingleton);
236
Debug.Assert(iter.
XmlType
== TypeFactory.ItemS, "IlGen currently only supports default values in parameters of type item*.");
250
NestedVisitEnsureStack(iter.Binding, GetItemStorageType(iter), /*isCached:*/!iter.
XmlType
.IsSingleton);
264
NestedVisitEnsureStack(ndFunc.Definition, GetItemStorageType(ndFunc), !ndFunc.
XmlType
.IsSingleton);
299
Debug.Assert(nd.
XmlType
.IsSingleton || CachesResult(nd) || this.iterCurr.HasLabelNext,
339
XmlQueryType typ = nd.
XmlType
;
351
this.iterCurr.EnsureItemStorageType(nd.
XmlType
, typeof(XPathItem));
356
this.iterCurr.EnsureItemStorageType(nd.
XmlType
, typeof(XPathItem));
849
Debug.Assert(ndCond.Left.
XmlType
.TypeCode == XmlTypeCode.Boolean);
852
if (ndCond.
XmlType
.IsSingleton) {
882
if (!ndCond.
XmlType
.IsSingleton) {
883
Debug.Assert(!ndCond.Center.
XmlType
.IsSingleton || !ndCond.Right.
XmlType
.IsSingleton);
913
Debug.Assert(ndBranch.
XmlType
.IsSingleton, "Conditional must produce a singleton");
927
this.iterCurr.EnsureItemStorageType(ndBranch.
XmlType
, itemStorageType);
1089
if (nd.
XmlType
.IsSingleton) {
1130
this.iterCurr.EnsureItemStorageType(ndSeq[i].
XmlType
, itemStorageType);
1237
if (ndSet.
XmlType
.IsSingleton) {
1302
this.iterCurr.EnsureItemStorageType(ndAgg.
XmlType
, GetItemStorageType(ndAgg));
1313
if (ndAgg.
XmlType
.MaybeEmpty) {
1332
this.helper.CallArithmeticOp(QilNodeType.Negate, ndNeg.
XmlType
.TypeCode);
1377
this.helper.CallArithmeticOp(ndOp.NodeType, ndOp.
XmlType
.TypeCode);
1400
Debug.Assert(!ndStrConcat.Values.
XmlType
.IsSingleton, "Optimizer should have folded StrConcat of a singleton value");
1413
if (!ndStr.
XmlType
.IsSingleton)
1473
this.iterCurr.EnsureItemStorageType(ndStr.
XmlType
, typeof(string));
1506
if (ndParsedTagName.Right.
XmlType
.TypeCode == XmlTypeCode.String) {
1508
Debug.Assert(ndParsedTagName.Right.
XmlType
.IsSingleton);
1583
Debug.Assert(ndComp.Left.
XmlType
.IsAtomicValue && ndComp.Right.
XmlType
.IsAtomicValue, "Operands to compare must be atomic values.");
1584
Debug.Assert(ndComp.Left.
XmlType
.IsSingleton && ndComp.Right.
XmlType
.IsSingleton, "Operands to compare must be cardinality one.");
1585
Debug.Assert(ndComp.Left.
XmlType
== ndComp.Right.
XmlType
, "Operands to compare may not be heterogenous.");
1606
code = ndComp.Left.
XmlType
.TypeCode;
1921
this.iterCurr.EnsureItemStorageType(nodes.
XmlType
, typeof(XPathNavigator));
1961
if (ndIter.NodeType == QilNodeType.For || ndIter.
XmlType
.IsSingleton) {
1982
Debug.Assert(ndFor.
XmlType
.IsSingleton);
2039
Debug.Assert(!ndLet.
XmlType
.IsSingleton);
2045
NestedVisit(ndLet.Binding, GetItemStorageType(ndLet), !ndLet.
XmlType
.IsSingleton);
2122
this.iterCurr.EnsureItemStorageType(ndSort.Variable.
XmlType
, GetItemStorageType(ndSort.Variable));
2161
Debug.Assert(ndKey.Key.
XmlType
.IsAtomicValue, "Sort key must be an atomic value.");
2176
if (ndKey.
XmlType
.IsSingleton) {
2180
this.helper.AddSortKey(ndKey.Key.
XmlType
);
2187
this.iterCurr.EnsureItemStorageType(ndKey.Key.
XmlType
, GetItemStorageType(ndKey.Key));
2191
this.helper.AddSortKey(ndKey.Key.
XmlType
);
2214
if (ndDod.
XmlType
.IsSingleton)
2259
kinds = ((ndDod.
XmlType
.NodeKinds & XmlNodeKindFlags.Attribute) != 0) ? XmlNodeKindFlags.Any : XmlNodeKindFlags.Content;
2376
NestedVisitEnsureStack(ndActualArg, GetItemStorageType(ndFormalArg), !ndFormalArg.
XmlType
.IsSingleton);
2388
this.iterCurr.Storage = StorageDescriptor.Stack(GetItemStorageType(ndInvoke), !ndInvoke.
XmlType
.IsSingleton);
2926
if (!ndTypeAssert.Source.
XmlType
.IsSingleton && ndTypeAssert.
XmlType
.IsSingleton && !this.iterCurr.HasLabelNext) {
2942
this.iterCurr.EnsureItemStorageType(ndTypeAssert.Source.
XmlType
, GetItemStorageType(ndTypeAssert));
2953
typDerived = ndIsType.Source.
XmlType
;
3198
Debug.Assert(ndVal.Child.
XmlType
.IsNode, "XPathNodeValue node may only be applied to a sequence of Nodes.");
3201
if (ndVal.Child.
XmlType
.IsSingleton) {
3270
if (ndGenId.Child.
XmlType
.IsSingleton) {
3284
this.iterCurr.EnsureItemStorageType(ndGenId.Child.
XmlType
, typeof(XPathNavigator));
3364
if (clrTypeRetSrc != clrTypeRetDst && !ndInvoke.
XmlType
.IsEmpty) {
3366
this.helper.LoadInteger(this.helper.StaticData.DeclareXmlType(ndInvoke.
XmlType
));
3390
Debug.Assert(ndActualArg.
XmlType
.IsSubtypeOf(xmlTypeFormalArg), "Xml type of actual arg must be a subtype of the Xml type of the formal arg");
3408
else if ((ndActualArg.
XmlType
.IsSingleton && clrTypeFormalArg == itemType) || ndActualArg.
XmlType
.TypeCode == XmlTypeCode.None) {
3412
else if (ndActualArg.
XmlType
.IsSingleton && clrTypeFormalArg == typeof(XPathItem)) {
3444
if (ndInvoke.
XmlType
.IsEmpty) {
3464
this.iterCurr.Storage = StorageDescriptor.Stack(GetItemStorageType(ndInvoke), !ndInvoke.
XmlType
.IsSingleton);
3480
Debug.Assert(ndCopy.Left.
XmlType
.IsNode);
3492
Debug.Assert(ndCopy.Left.
XmlType
.IsNode);
3526
typSrc = ndConv.Source.
XmlType
;
3536
Debug.Fail("Conversion from " + ndConv.Source.
XmlType
+ " to " + ndConv.TargetType + " is not supported.");
3768
this.iterCurr.EnsureNoStackNoCache(nd.
XmlType
.IsNode ? "$$$navInput" : "$$$itemInput");
3785
if (nd.
XmlType
.IsSingleton) {
3811
Debug.Assert(ndName.
XmlType
.TypeCode == XmlTypeCode.QName, "Element or attribute name must have QName type.");
3872
if ((ndName as QilBinary).Right.
XmlType
.TypeCode == XmlTypeCode.String)
3922
ZeroCompare(relOp, ndSecond.
XmlType
.TypeCode == XmlTypeCode.Boolean);
4103
if (!info.PushToWriterLast || nd.
XmlType
.IsSingleton)
4129
if (nd.
XmlType
.IsSingleton)
4340
nd.
XmlType
.TypeCode == XmlTypeCode.None,
4347
this.iterCurr.EnsureItemStorageType(nd.
XmlType
, typeof(bool));
4380
else if (!isCached && nd.
XmlType
.IsSingleton) {
4385
this.iterCurr.EnsureItemStorageType(nd.
XmlType
, itemStorageType);
4398
NestedVisit(nd, GetItemStorageType(nd), !nd.
XmlType
.IsSingleton);
4410
this.iterCurr.EnsureItemStorageType(nd.
XmlType
, GetItemStorageType(nd));
4454
Debug.Assert(nd.
XmlType
.IsSingleton && !XmlILConstructInfo.Read(nd).PushToWriterLast);
4489
this.iterCurr.EnsureItemStorageType(nd.
XmlType
, itemStorageType);
4505
if (nd.
XmlType
.IsSingleton) {
4526
this.iterCurr.EnsureItemStorageType(nd.
XmlType
, cacheType);
4556
return !nd.
XmlType
.IsSingleton;
4564
if (nd.
XmlType
.IsSingleton)
4584
return XmlILTypeHelper.GetStorageType(nd.
XmlType
);
4598
return XmlILTypeHelper.GetStorageType(nd.
XmlType
.Prime);
System\Xml\Xsl\QIL\QilList.cs (3)
52
xt = XmlQueryTypeFactory.Sequence(xt, this.members[i].
XmlType
);
57
xt = this.members[0].
XmlType
;
59
xt = XmlQueryTypeFactory.Choice(xt, this.members[i].
XmlType
);
System\Xml\Xsl\QIL\QilPatternFactory.cs (4)
223
Debug.Assert(arg.
XmlType
.TypeCode == XmlTypeCode.Boolean && arg.
XmlType
.IsSingleton,
404
if (values.
XmlType
.IsSingleton)
538
return f.Function(args, defn, sideEffects, defn.
XmlType
);
System\Xml\Xsl\QIL\QilReplaceVisitor.cs (3)
35
XmlQueryType oldParentType = parent.
XmlType
;
41
XmlQueryType oldChildType = oldChild != null ? oldChild.
XmlType
: null;
50
if ((object) oldChild != (object) newChild || (newChild != null && (object) oldChildType != (object) newChild.
XmlType
)) {
System\Xml\Xsl\QIL\QilTypeChecker.cs (63)
220
return node.Child.
XmlType
;
224
return node.
XmlType
;
240
return node.Child.
XmlType
;
260
return node.Binding.
XmlType
.Prime;
264
return node.Binding.
XmlType
;
268
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");
269
return node.
XmlType
;
361
return XmlQueryTypeFactory.Choice(node.Center.
XmlType
, node.Right.
XmlType
);
388
return DistinctType(XmlQueryTypeFactory.Sequence(node.Left.
XmlType
, node.Right.
XmlType
));
398
return XmlQueryTypeFactory.AtMost(node.Left.
XmlType
, node.Left.
XmlType
.Cardinality);
402
XmlQueryType xmlType = node.Child.
XmlType
;
427
return node.Child.
XmlType
;
434
return node.Left.
XmlType
.TypeCode == XmlTypeCode.None ? node.Right.
XmlType
: node.Left.
XmlType
;
472
Check(node.Right.
XmlType
.IsSubtypeOf(XmlQueryTypeFactory.StringX) || node.Right.
XmlType
.IsSubtypeOf(XmlQueryTypeFactory.NamespaceS),
540
XmlQueryType bodyType = node.Body.
XmlType
;
541
XmlQueryCardinality variableCard = node.Variable.NodeType == QilNodeType.Let ? XmlQueryCardinality.One : node.Variable.Binding.
XmlType
.Cardinality;
557
return XmlQueryTypeFactory.AtMost(node.Variable.Binding.
XmlType
, node.Variable.Binding.
XmlType
.Cardinality);
567
XmlQueryType varType = node.Variable.Binding.
XmlType
;
579
return node.Key.
XmlType
;
584
return DistinctType(node.Child.
XmlType
);
596
Check(node.Definition.
XmlType
.IsSubtypeOf(node.
XmlType
), node, "Function definition's xml type must be a subtype of the function's return type");
597
return node.
XmlType
;
612
return node.Function.
XmlType
;
653
return XmlQueryTypeFactory.Choice(node.Child.
XmlType
, XmlQueryTypeFactory.ContentS);
663
return XmlQueryTypeFactory.Choice(node.Child.
XmlType
, XmlQueryTypeFactory.DocumentOrElementS);
684
return XmlQueryTypeFactory.Choice(node.Left.
XmlType
, XmlQueryTypeFactory.ContentS, node.Right.
XmlType
);
783
return node.
XmlType
;
864
return node.
XmlType
;
870
return XmlQueryTypeFactory.Choice(node.Left.
XmlType
, node.Right.
XmlType
);
876
if ((node.Child.
XmlType
.NodeKinds & XmlNodeKindFlags.Document) != 0)
879
return node.Child.
XmlType
;
920
Check(node.
XmlType
.IsSubtypeOf(xmlType), node, "Node's type " + node.
XmlType
+ " is not a subtype of " + xmlType);
925
Check(node.
XmlType
.IsNumeric && node.
XmlType
.IsSingleton && node.
XmlType
.IsStrict, node, "Node's type " + node.
XmlType
+ " must be a strict singleton numeric type");
930
Check(node.
XmlType
.IsNumeric && node.
XmlType
.IsStrict, node, "Node's type " + node.
XmlType
+ " must be a strict numeric type");
935
Check(node.
XmlType
.IsAtomicValue && node.
XmlType
.IsStrict, node, "Node's type " + node.
XmlType
+ " must be a strict atomic value type");
940
Check(node.Left.
XmlType
.IsSubtypeOf(node.Right.
XmlType
) || node.Right.
XmlType
.IsSubtypeOf(node.Left.
XmlType
), node,
941
"Node must not have arguments with disjoint types " + node.Left.
XmlType
+ " and " + node.Right.
XmlType
);
958
if (body.
XmlType
.TypeCode == XmlTypeCode.None)
968
return XmlQueryTypeFactory.AtMost(((QilTargetType)body).TargetType, variable.Binding.
XmlType
.Cardinality);
984
return XmlQueryTypeFactory.AtMost(variable.Binding.
XmlType
, XmlQueryCardinality.ZeroOrOne);
System\Xml\Xsl\QIL\QilXmlReader.cs (1)
266
nd = f.Function(list[0], list[1], list[2], ann.XmlType != null ? ann.XmlType : list[1].
XmlType
);
System\Xml\Xsl\QIL\QilXmlWriter.cs (1)
130
this.writer.WriteAttributeString("xmlType", node.
XmlType
.ToString((this.options & Options.RoundTripTypeInfo) != 0 ? "S" : "G"));
System\Xml\Xsl\XmlIlGenerator.cs (3)
203
paramTypes[arg] = XmlILTypeHelper.GetStorageType(ndParam.
XmlType
);
217
typReturn = XmlILTypeHelper.GetStorageType(ndFunc.
XmlType
);
244
typReturn = XmlILTypeHelper.GetStorageType(ndRef.
XmlType
);
System\Xml\Xsl\XPath\XPathBuilder.cs (19)
76
if (result.
XmlType
.MaybeMany && result.
XmlType
.IsNode && result.
XmlType
.IsNotRtf) {
132
Debug.Assert(compType == XmlTypeCode.Boolean || left.
XmlType
.IsSingleton && right.
XmlType
.IsSingleton, "Both comparison operands must be singletons");
151
Debug.Assert(val.
XmlType
.IsSingleton);
153
if (compType == XmlTypeCode.Boolean || nodeset.
XmlType
.IsSingleton) {
175
if (right.
XmlType
.IsSingleton) {
178
if (left.
XmlType
.IsSingleton) {
189
XmlQueryType leftType = left.
XmlType
;
190
XmlQueryType rightType = right.
XmlType
;
212
XmlQueryType leftType = left.
XmlType
;
213
XmlQueryType rightType = right.
XmlType
;
277
XmlNodeKindFlags original = qilAxis.
XmlType
.NodeKinds;
287
qilAxis.XmlType = T.PrimeProduct(T.NodeChoice(required), qilAxis.
XmlType
.Cardinality);
410
if (predicate.
XmlType
.TypeCode == XmlTypeCode.Double) {
531
if (arg.
XmlType
.IsSingleton) {
541
if (arg.
XmlType
.IsSingleton) {
566
if (arg.
XmlType
.IsSingleton) {
System\Xml\Xsl\XPath\XPathQilFactory.cs (28)
39
XmlQueryType xt = n.
XmlType
;
52
Debug.Assert(n != null && n.
XmlType
.IsSingleton && n.
XmlType
.IsNode, "Must be a singleton node");
57
Debug.Assert(n != null && n.
XmlType
.IsNode, "Must be a node-set");
62
Debug.Assert(n != null && n.
XmlType
.IsSingleton && n.
XmlType
.IsNode && n.
XmlType
.IsNotRtf, "Must be a singleton node and not an Rtf");
67
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");
77
Debug.Assert(n != null && n.
XmlType
.IsSubtypeOf(T.DoubleX), "Must be a singleton Double");
82
Debug.Assert(n != null && n.
XmlType
.IsSubtypeOf(T.BooleanX), "Must be a singleton Bool");
87
XmlQueryType xt = n.
XmlType
;
93
XmlQueryType xt = n.
XmlType
;
158
Debug.Assert(IsAnyType(n), "Unexpected expression type: " + n.
XmlType
.ToString());
174
switch (n.
XmlType
.TypeCode) {
189
if (n.
XmlType
.IsNode) {
200
switch (n.
XmlType
.TypeCode) {
216
if (n.
XmlType
.IsNode) {
227
switch (n.
XmlType
.TypeCode) {
239
if (n.
XmlType
.IsNode) {
249
if (n.
XmlType
.IsNode && n.
XmlType
.IsNotRtf && n.
XmlType
.IsSingleton) {
256
if (n.
XmlType
.IsNode && n.
XmlType
.IsNotRtf) {
265
if (n.
XmlType
.IsNode && n.
XmlType
.IsNotRtf) {
296
if (id.
XmlType
.IsSingleton) {
System\Xml\Xsl\Xslt\InvokeGenerator.cs (2)
69
XmlQueryType formalType = formalArg.
XmlType
;
70
XmlQueryType invokeType = invokeArg.
XmlType
;
System\Xml\Xsl\Xslt\MatcherBuilder.cs (1)
173
XmlNodeKindFlags nodeKinds = isType.Right.
XmlType
.NodeKinds;
System\Xml\Xsl\Xslt\QilGenerator.cs (19)
380
Debug.Assert(var.
XmlType
.IsSubtypeOf(T.NamespaceS));
474
QilParameter formal = f.Parameter(args[j].
XmlType
); {
1102
if ((node.
XmlType
.NodeKinds & InvalidatingNodes) != XmlNodeKindFlags.None) {
1105
if (node.
XmlType
.NodeKinds == XmlNodeKindFlags.Element) {
1115
} else if (node.
XmlType
.NodeKinds == XmlNodeKindFlags.Document) {
1119
} else if ((node.
XmlType
.NodeKinds & (XmlNodeKindFlags.Element | XmlNodeKindFlags.Document)) == XmlNodeKindFlags.None) {
1131
if (selectExpr.
XmlType
.IsNode) {
1132
if ((selectExpr.
XmlType
.NodeKinds & InvalidatingNodes) != XmlNodeKindFlags.None) {
1136
if (selectExpr.
XmlType
.IsNotRtf && (selectExpr.
XmlType
.NodeKinds & XmlNodeKindFlags.Document) == XmlNodeKindFlags.None) {
1142
if (selectExpr.
XmlType
.IsSingleton) {
1149
else if (selectExpr.
XmlType
.IsAtomicValue) {
1437
Debug.Assert(result.
XmlType
== T.StringX);
1554
XmlNodeKindFlags nodeKinds = current.
XmlType
.NodeKinds;
2148
XmlQueryType paramType = formalArgs[invArg].
XmlType
;
2155
XmlQueryType valueType = value.
XmlType
;
2226
QilParameter formalArg = f.Parameter(i == 0 ? T.NodeNotRtf : withParam.Value.
XmlType
);
2357
Debug.Assert(nsVar.
XmlType
.IsSubtypeOf(T.NamespaceS));
2358
if (nsVar.
XmlType
.Cardinality == XmlQueryCardinality.One) {
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (15)
84
XmlQueryType varType = var.
XmlType
;
321
if (keys.
XmlType
.IsNode) {
322
if (keys.
XmlType
.IsSingleton) {
328
else if (keys.
XmlType
.IsAtomicValue) {
343
Debug.Assert(name.
XmlType
== T.StringX && key.
XmlType
== T.StringX);
424
if (uris.
XmlType
.IsNode) {
428
} else if (uris.
XmlType
.IsAtomicValue) {
453
if (baseNode.
XmlType
.IsSingleton) {
526
if (n.
XmlType
.IsSingleton) {
597
if (n.
XmlType
.IsNode && n.
XmlType
.IsNotRtf) {
610
switch (n.
XmlType
.TypeCode) {
615
if (n.
XmlType
.IsNode && n.
XmlType
.IsNotRtf) {
System\Xml\Xsl\Xslt\QilStrConcatenator.cs (1)
57
Debug.Assert(value.
XmlType
.TypeCode == XmlTypeCode.String);
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (6)
51
Debug.Assert(filter.Variable.
XmlType
.IsSubtypeOf(T.NodeNotRtf));
53
Debug.Assert(filter.Body.
XmlType
.IsSubtypeOf(T.Boolean));
99
XmlNodeKindFlags intersection = XPathBuilder.AxisTypeMask(itr.
XmlType
.NodeKinds, nodeType, xpathAxis);
103
intersection == itr.
XmlType
.NodeKinds ? f.True() : // input is subset of required
108
filter.XmlType = T.PrimeProduct(T.NodeChoice(intersection), filter.
XmlType
.Cardinality);
253
nodeFilter.Body = f.And(f.IsType(current, nodeFilter.
XmlType
), nodeFilter.Body);
System\Xml\Xsl\Xslt\XsltQilFactory.cs (4)
26
XmlQueryType xt = n.
XmlType
;
47
Debug.Assert(n != null && n.
XmlType
.IsSubtypeOf(T.QNameX), "Must be a singleton QName");
119
value.
XmlType
.IsSubtypeOf(T.IntXS) ||
120
value.
XmlType
.IsSubtypeOf(T.DoubleX)),