274 references to XmlILMethods
System.Data.SqlXml (274)
System\Xml\Xsl\IlGen\GenerateHelper.cs (107)
69
AggAvg =
XmlILMethods
.GetMethod(aggType, "Average");
70
AggAvgResult =
XmlILMethods
.GetMethod(aggType, "get_AverageResult");
71
AggCreate =
XmlILMethods
.GetMethod(aggType, "Create");
72
AggIsEmpty =
XmlILMethods
.GetMethod(aggType, "get_IsEmpty");
73
AggMax =
XmlILMethods
.GetMethod(aggType, "Maximum");
74
AggMaxResult =
XmlILMethods
.GetMethod(aggType, "get_MaximumResult");
75
AggMin =
XmlILMethods
.GetMethod(aggType, "Minimum");
76
AggMinResult =
XmlILMethods
.GetMethod(aggType, "get_MinimumResult");
77
AggSum =
XmlILMethods
.GetMethod(aggType, "Sum");
78
AggSumResult =
XmlILMethods
.GetMethod(aggType, "get_SumResult");
84
SeqAdd =
XmlILMethods
.GetMethod(SeqType, "AddClone");
88
SeqAdd =
XmlILMethods
.GetMethod(SeqType, "AddClone");
92
SeqAdd =
XmlILMethods
.GetMethod(SeqType, "Add");
96
SeqReuse =
XmlILMethods
.GetMethod(SeqType, "CreateOrReuse", SeqType);
97
SeqReuseSgl =
XmlILMethods
.GetMethod(SeqType, "CreateOrReuse", SeqType, storageType);
98
SeqSortByKeys =
XmlILMethods
.GetMethod(SeqType, "SortByKeys");
102
IListItem =
XmlILMethods
.GetMethod(IListType, "get_Item");
103
IListCount =
XmlILMethods
.GetMethod(typeof(ICollection<>).MakeGenericType(storageType), "get_Count");
107
ValueAs =
XmlILMethods
.GetMethod(typeof(XPathItem), "get_Value");
109
ValueAs =
XmlILMethods
.GetMethod(typeof(XPathItem), "get_ValueAsInt");
111
ValueAs =
XmlILMethods
.GetMethod(typeof(XPathItem), "get_ValueAsLong");
113
ValueAs =
XmlILMethods
.GetMethod(typeof(XPathItem), "get_ValueAsDateTime");
115
ValueAs =
XmlILMethods
.GetMethod(typeof(XPathItem), "get_ValueAsDouble");
117
ValueAs =
XmlILMethods
.GetMethod(typeof(XPathItem), "get_ValueAsBoolean");
121
ToAtomicValue =
XmlILMethods
.GetMethod(typeof(XmlILStorageConverter), "BytesToAtomicValue");
123
ToAtomicValue =
XmlILMethods
.GetMethod(typeof(XmlILStorageConverter), storageType.Name + "ToAtomicValue");
536
Call(
XmlILMethods
.GetOutput);
625
Call(
XmlILMethods
.GetTypeFromHandle);
658
Call(
XmlILMethods
.Context);
663
Call(
XmlILMethods
.XsltLib);
862
Call(
XmlILMethods
.StrCat2);
865
Call(
XmlILMethods
.StrCat3);
868
Call(
XmlILMethods
.StrCat4);
954
case QilNodeType.Add: meth =
XmlILMethods
.DecAdd; break;
955
case QilNodeType.Subtract: meth =
XmlILMethods
.DecSub; break;
956
case QilNodeType.Multiply: meth =
XmlILMethods
.DecMul; break;
957
case QilNodeType.Divide: meth =
XmlILMethods
.DecDiv; break;
958
case QilNodeType.Modulo: meth =
XmlILMethods
.DecRem; break;
959
case QilNodeType.Negate: meth =
XmlILMethods
.DecNeg; break;
976
case XmlTypeCode.String: meth =
XmlILMethods
.StrEq; break;
977
case XmlTypeCode.QName: meth =
XmlILMethods
.QNameEq; break;
978
case XmlTypeCode.Decimal: meth =
XmlILMethods
.DecEq; break;
991
case XmlTypeCode.String: meth =
XmlILMethods
.StrCmp; break;
992
case XmlTypeCode.Decimal: meth =
XmlILMethods
.DecCmp; break;
1011
Call(
XmlILMethods
.StartRtfConstr);
1017
Call(
XmlILMethods
.EndRtfConstr);
1024
Call(
XmlILMethods
.StartSeqConstr);
1030
Call(
XmlILMethods
.EndSeqConstr);
1036
Call(
XmlILMethods
.GetEarly);
1043
Call(
XmlILMethods
.GetAtomizedName);
1049
Call(
XmlILMethods
.GetNameFilter);
1055
Call(
XmlILMethods
.GetTypeFilter);
1060
Call(
XmlILMethods
.TagAndMappings);
1064
Call(
XmlILMethods
.TagAndNamespace);
1071
Call(
XmlILMethods
.GetGlobalValue);
1077
Call(
XmlILMethods
.SetGlobalValue);
1083
Call(
XmlILMethods
.GetCollation);
1103
Call(
XmlILMethods
.GetParam);
1113
Call(
XmlILMethods
.StartTree);
1118
Call(
XmlILMethods
.EndTree);
1124
Call(
XmlILMethods
.StartRoot);
1130
Call(
XmlILMethods
.EndRoot);
1140
case GenerateNameType.LiteralLocalName: meth =
XmlILMethods
.StartElemLocName; break;
1141
case GenerateNameType.LiteralName: meth =
XmlILMethods
.StartElemLitName; break;
1142
case GenerateNameType.CopiedName: meth =
XmlILMethods
.StartElemCopyName; break;
1143
case GenerateNameType.TagNameAndMappings: meth =
XmlILMethods
.StartElemMapName; break;
1144
case GenerateNameType.TagNameAndNamespace: meth =
XmlILMethods
.StartElemNmspName; break;
1145
case GenerateNameType.QName: meth =
XmlILMethods
.StartElemQName; break;
1152
case GenerateNameType.LiteralLocalName: meth =
XmlILMethods
.StartElemLocNameUn; break;
1153
case GenerateNameType.LiteralName: meth =
XmlILMethods
.StartElemLitNameUn; break;
1167
meth =
XmlILMethods
.EndElemStackName;
1172
case GenerateNameType.LiteralLocalName: meth =
XmlILMethods
.EndElemLocNameUn; break;
1173
case GenerateNameType.LiteralName: meth =
XmlILMethods
.EndElemLitNameUn; break;
1183
Call(
XmlILMethods
.StartContentUn);
1193
case GenerateNameType.LiteralLocalName: meth =
XmlILMethods
.StartAttrLocName; break;
1194
case GenerateNameType.LiteralName: meth =
XmlILMethods
.StartAttrLitName; break;
1195
case GenerateNameType.CopiedName: meth =
XmlILMethods
.StartAttrCopyName; break;
1196
case GenerateNameType.TagNameAndMappings: meth =
XmlILMethods
.StartAttrMapName; break;
1197
case GenerateNameType.TagNameAndNamespace: meth =
XmlILMethods
.StartAttrNmspName; break;
1198
case GenerateNameType.QName: meth =
XmlILMethods
.StartAttrQName; break;
1205
case GenerateNameType.LiteralLocalName: meth =
XmlILMethods
.StartAttrLocNameUn; break;
1206
case GenerateNameType.LiteralName: meth =
XmlILMethods
.StartAttrLitNameUn; break;
1220
Call(
XmlILMethods
.EndAttr);
1224
Call(
XmlILMethods
.EndAttrUn);
1232
Call(
XmlILMethods
.NamespaceDecl);
1236
Call(
XmlILMethods
.NamespaceDeclUn);
1245
Call(
XmlILMethods
.NoEntText);
1247
Call(
XmlILMethods
.Text);
1252
Call(
XmlILMethods
.NoEntTextUn);
1254
Call(
XmlILMethods
.TextUn);
1259
Call(
XmlILMethods
.StartPI);
1264
Call(
XmlILMethods
.EndPI);
1269
Call(
XmlILMethods
.StartComment);
1274
Call(
XmlILMethods
.EndComment);
1283
XmlILStorageMethods meth =
XmlILMethods
.StorageMethods[itemStorageType];
1288
Call(
XmlILMethods
.StorageMethods[itemStorageType].IListItem);
1299
meth =
XmlILMethods
.StorageMethods[clrType].ValueAs;
1304
Call(
XmlILMethods
.ValueAsAny);
1324
meth =
XmlILMethods
.SortKeyEmpty;
1330
case XmlTypeCode.String: meth =
XmlILMethods
.SortKeyString; break;
1331
case XmlTypeCode.Decimal: meth =
XmlILMethods
.SortKeyDecimal; break;
1332
case XmlTypeCode.Integer: meth =
XmlILMethods
.SortKeyInteger; break;
1333
case XmlTypeCode.Int: meth =
XmlILMethods
.SortKeyInt; break;
1334
case XmlTypeCode.Boolean: meth =
XmlILMethods
.SortKeyInt; break;
1335
case XmlTypeCode.Double: meth =
XmlILMethods
.SortKeyDouble; break;
1336
case XmlTypeCode.DateTime: meth =
XmlILMethods
.SortKeyDateTime; break;
1341
meth =
XmlILMethods
.SortKeyEmpty;
System\Xml\Xsl\IlGen\IteratorDescriptor.cs (3)
608
this.helper.Call(
XmlILMethods
.NavsToItems);
615
this.helper.Call(
XmlILMethods
.ItemsToNavs);
644
this.helper.Call(
XmlILMethods
.StorageMethods[this.storage.ItemStorageType].ToAtomicValue);
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (161)
131
this.helper.Call(
XmlILMethods
.GlobalComputed);
156
this.helper.Call(
XmlILMethods
.ChangeTypeXsltResult);
183
this.helper.Call(
XmlILMethods
.ThrowException);
244
this.helper.Call(
XmlILMethods
.SeqMatchesCode);
366
this.helper.Call(
XmlILMethods
.WriteItem);
384
this.helper.Call(
XmlILMethods
.GetDataSource);
419
this.helper.Call(
XmlILMethods
.ThrowException);
440
this.helper.Call(
XmlILMethods
.SendMessage);
1163
return CreateSetIterator(ndUnion, "$$$iterUnion", typeof(UnionIterator),
XmlILMethods
.UnionCreate,
XmlILMethods
.UnionNext);
1170
return CreateSetIterator(ndInter, "$$$iterInter", typeof(IntersectIterator),
XmlILMethods
.InterCreate,
XmlILMethods
.InterNext);
1177
return CreateSetIterator(ndDiff, "$$$iterDiff", typeof(DifferenceIterator),
XmlILMethods
.DiffCreate,
XmlILMethods
.DiffNext);
1253
XmlILStorageMethods meths =
XmlILMethods
.StorageMethods[GetItemStorageType(ndAvg)];
1261
XmlILStorageMethods meths =
XmlILMethods
.StorageMethods[GetItemStorageType(ndSum)];
1269
XmlILStorageMethods meths =
XmlILMethods
.StorageMethods[GetItemStorageType(ndMin)];
1277
XmlILStorageMethods meths =
XmlILMethods
.StorageMethods[GetItemStorageType(ndMax)];
1387
this.helper.Call(
XmlILMethods
.StrLen);
1432
this.helper.Call(
XmlILMethods
.StrCatClear);
1438
this.helper.Call(
XmlILMethods
.StrCatDelim);
1452
this.helper.Call(
XmlILMethods
.StrCatResult);
1474
this.helper.Call(
XmlILMethods
.StrCatCat);
1649
this.helper.Call(
XmlILMethods
.NavSamePos);
1679
this.helper.Call(
XmlILMethods
.CompPos);
1806
this.helper.Call(
XmlILMethods
.ElemContentCreate);
1808
GenerateSimpleIterator(typeof(XPathNavigator), locIter,
XmlILMethods
.ElemContentNext);
1812
CreateSimpleIterator(input, "$$$iterContent", typeof(ContentIterator),
XmlILMethods
.ContentCreate,
XmlILMethods
.ContentNext);
1822
this.helper.Call(
XmlILMethods
.KindContentCreate);
1824
GenerateSimpleIterator(typeof(XPathNavigator), locIter,
XmlILMethods
.KindContentNext);
1830
CreateFilteredIterator(input, "$$$iterPar", typeof(ParentIterator),
XmlILMethods
.ParentCreate,
XmlILMethods
.ParentNext,
1836
CreateFilteredIterator(input, "$$$iterAnc", typeof(AncestorIterator),
XmlILMethods
.AncCreate,
XmlILMethods
.AncNext,
1842
CreateFilteredIterator(input, "$$$iterDesc", typeof(DescendantIterator),
XmlILMethods
.DescCreate,
XmlILMethods
.DescNext,
1847
CreateFilteredIterator(input, "$$$iterPrec", typeof(PrecedingIterator),
XmlILMethods
.PrecCreate,
XmlILMethods
.PrecNext,
1852
CreateFilteredIterator(input, "$$$iterFollSib", typeof(FollowingSiblingIterator),
XmlILMethods
.FollSibCreate,
XmlILMethods
.FollSibNext,
1857
CreateFilteredIterator(input, "$$$iterPreSib", typeof(PrecedingSiblingIterator),
XmlILMethods
.PreSibCreate,
XmlILMethods
.PreSibNext,
1862
CreateFilteredIterator(input, "$$$iterRange", typeof(NodeRangeIterator),
XmlILMethods
.NodeRangeCreate,
XmlILMethods
.NodeRangeNext,
1867
CreateFilteredIterator(input, "$$$iterFoll", typeof(XPathFollowingIterator),
XmlILMethods
.XPFollCreate,
XmlILMethods
.XPFollNext,
1872
CreateFilteredIterator(input, "$$$iterPrec", typeof(XPathPrecedingIterator),
XmlILMethods
.XPPrecCreate,
XmlILMethods
.XPPrecNext,
1884
CreateSimpleIterator(input, "$$$iterAttr", typeof(AttributeIterator),
XmlILMethods
.AttrCreate,
XmlILMethods
.AttrNext);
1901
this.helper.Call(
XmlILMethods
.FindIndex);
1922
this.helper.Call(
XmlILMethods
.IndexAdd);
1931
this.helper.Call(
XmlILMethods
.AddNewIndex);
1938
this.helper.Call(
XmlILMethods
.IndexLookup);
2101
XmlILStorageMethods methods =
XmlILMethods
.StorageMethods[itemStorageType];
2112
this.helper.Call(
XmlILMethods
.SortKeyCreate);
2132
this.helper.Call(
XmlILMethods
.SortKeyFinish);
2144
this.helper.Call(
XmlILMethods
.SortKeyKeys);
2173
this.helper.Call(
XmlILMethods
.CreateCollation);
2226
this.helper.Call(
XmlILMethods
.DocOrder);
2267
CreateContainerIterator(ndDod, "$$$iterContent", typeof(ContentMergeIterator),
XmlILMethods
.ContentMergeCreate,
XmlILMethods
.ContentMergeNext,
2273
CreateContainerIterator(ndDod, "$$$iterDesc", typeof(DescendantMergeIterator),
XmlILMethods
.DescMergeCreate,
XmlILMethods
.DescMergeNext,
2278
CreateContainerIterator(ndDod, "$$$iterFoll", typeof(XPathFollowingMergeIterator),
XmlILMethods
.XPFollMergeCreate,
XmlILMethods
.XPFollMergeNext,
2283
CreateContainerIterator(ndDod, "$$$iterFollSib", typeof(FollowingSiblingMergeIterator),
XmlILMethods
.FollSibMergeCreate,
XmlILMethods
.FollSibMergeNext,
2288
CreateContainerIterator(ndDod, "$$$iterPrec", typeof(XPathPrecedingMergeIterator),
XmlILMethods
.XPPrecMergeCreate,
XmlILMethods
.XPPrecMergeNext,
2302
CreateFilteredIterator(input, "$$$iterAnc", typeof(AncestorDocOrderIterator),
XmlILMethods
.AncDOCreate,
XmlILMethods
.AncDONext,
2307
CreateFilteredIterator(input, "$$$iterPreSib", typeof(PrecedingSiblingDocOrderIterator),
XmlILMethods
.PreSibDOCreate,
XmlILMethods
.PreSibDONext,
2312
CreateFilteredIterator(input, "$$$iterPrec", typeof(XPathPrecedingDocOrderIterator),
XmlILMethods
.XPPrecDOCreate,
XmlILMethods
.XPPrecDONext,
2330
this.helper.Call(
XmlILMethods
.DodMergeCreate);
2341
this.helper.Call(
XmlILMethods
.DodMergeAdd);
2350
this.helper.Call(
XmlILMethods
.DodMergeSeq);
2401
CreateSimpleIterator(ndContent.Child, "$$$iterAttrContent", typeof(AttributeContentIterator),
XmlILMethods
.AttrContentCreate,
XmlILMethods
.AttrContentNext);
2422
this.helper.Call(
XmlILMethods
.NavMoveAttr);
2441
this.helper.Call(
XmlILMethods
.NavMoveParent);
2460
this.helper.Call(
XmlILMethods
.NavMoveRoot);
2475
this.helper.Call(
XmlILMethods
.GetDefaultDataSource);
2484
CreateFilteredIterator(ndDesc.Child, "$$$iterDesc", typeof(DescendantIterator),
XmlILMethods
.DescCreate,
XmlILMethods
.DescNext,
2493
CreateFilteredIterator(ndDesc.Child, "$$$iterDesc", typeof(DescendantIterator),
XmlILMethods
.DescCreate,
XmlILMethods
.DescNext,
2502
CreateFilteredIterator(ndAnc.Child, "$$$iterAnc", typeof(AncestorIterator),
XmlILMethods
.AncCreate,
XmlILMethods
.AncNext,
2511
CreateFilteredIterator(ndAnc.Child, "$$$iterAnc", typeof(AncestorIterator),
XmlILMethods
.AncCreate,
XmlILMethods
.AncNext,
2520
CreateFilteredIterator(ndPrec.Child, "$$$iterPrec", typeof(PrecedingIterator),
XmlILMethods
.PrecCreate,
XmlILMethods
.PrecNext,
2529
CreateFilteredIterator(ndFollSib.Child, "$$$iterFollSib", typeof(FollowingSiblingIterator),
XmlILMethods
.FollSibCreate,
XmlILMethods
.FollSibNext,
2538
CreateFilteredIterator(ndPreSib.Child, "$$$iterPreSib", typeof(PrecedingSiblingIterator),
XmlILMethods
.PreSibCreate,
XmlILMethods
.PreSibNext,
2547
CreateFilteredIterator(ndRange.Left, "$$$iterRange", typeof(NodeRangeIterator),
XmlILMethods
.NodeRangeCreate,
XmlILMethods
.NodeRangeNext,
2563
this.helper.Call(
XmlILMethods
.IdCreate);
2565
GenerateSimpleIterator(typeof(XPathNavigator), locIter,
XmlILMethods
.IdNext);
2747
this.helper.Call(
XmlILMethods
.CommentText);
2752
this.helper.Call(
XmlILMethods
.PIText);
2834
this.helper.Call(
XmlILMethods
.RtfConstr);
2890
this.helper.Call(
XmlILMethods
.NavLocalName);
2891
this.helper.Call(
XmlILMethods
.NavNmsp);
2898
this.helper.Call(
XmlILMethods
.NavLocalName);
2904
this.helper.Call(
XmlILMethods
.NavNmsp);
2910
this.helper.Call(
XmlILMethods
.NavPrefix);
2963
this.helper.Call(
XmlILMethods
.ItemIsNode);
2985
this.helper.Call(typDerived.IsSingleton ?
XmlILMethods
.ItemMatchesCode :
XmlILMethods
.SeqMatchesCode);
2995
this.helper.Call(typDerived.IsSingleton ?
XmlILMethods
.ItemMatchesType :
XmlILMethods
.SeqMatchesType);
3063
this.helper.Call(
XmlILMethods
.NavType);
3206
this.helper.Call(
XmlILMethods
.Value);
3217
this.helper.Call(
XmlILMethods
.Value);
3239
CreateFilteredIterator(ndFoll.Child, "$$$iterFoll", typeof(XPathFollowingIterator),
XmlILMethods
.XPFollCreate,
XmlILMethods
.XPFollNext,
3248
CreateFilteredIterator(ndPrec.Child, "$$$iterPrec", typeof(XPathPrecedingIterator),
XmlILMethods
.XPPrecCreate,
XmlILMethods
.XPPrecNext,
3257
CreateSimpleIterator(ndNmsp.Child, "$$$iterNmsp", typeof(NamespaceIterator),
XmlILMethods
.NmspCreate,
XmlILMethods
.NmspNext);
3275
this.helper.Call(
XmlILMethods
.GenId);
3287
this.helper.Call(
XmlILMethods
.GenId);
3342
this.helper.Call(
XmlILMethods
.InvokeXsltLate);
3400
if (clrTypeFormalArg ==
XmlILMethods
.StorageMethods[itemType].IListType) {
3404
else if (clrTypeFormalArg ==
XmlILMethods
.StorageMethods[typeof(XPathItem)].IListType) {
3431
this.helper.Call(
XmlILMethods
.ChangeTypeXsltArg);
3445
this.helper.Emit(OpCodes.Ldsfld,
XmlILMethods
.StorageMethods[typeof(XPathItem)].SeqEmpty);
3450
this.helper.Call(
XmlILMethods
.ChangeTypeXsltResult);
3460
this.helper.Call(
XmlILMethods
.ThrowException);
3482
this.helper.Call(
XmlILMethods
.StartCopy);
3494
this.helper.Call(
XmlILMethods
.EndCopy);
3513
this.helper.Call(
XmlILMethods
.CopyOf);
3561
if ((object) typSrc == (object) TypeFactory.Item) meth =
XmlILMethods
.ItemToBool;
3562
else if ((object) typSrc == (object) TypeFactory.ItemS) meth =
XmlILMethods
.ItemsToBool;
3566
if ((object) typSrc == (object) TypeFactory.StringX) meth =
XmlILMethods
.StrToDT;
3570
if ((object) typSrc == (object) TypeFactory.DoubleX) meth =
XmlILMethods
.DblToDec;
3574
if ((object) typSrc == (object) TypeFactory.DecimalX) meth =
XmlILMethods
.DecToDbl;
3575
else if ((object) typSrc == (object) TypeFactory.IntX) meth =
XmlILMethods
.IntToDbl;
3576
else if ((object) typSrc == (object) TypeFactory.Item) meth =
XmlILMethods
.ItemToDbl;
3577
else if ((object) typSrc == (object) TypeFactory.ItemS) meth =
XmlILMethods
.ItemsToDbl;
3578
else if ((object) typSrc == (object) TypeFactory.LongX) meth =
XmlILMethods
.LngToDbl;
3579
else if ((object) typSrc == (object) TypeFactory.StringX) meth =
XmlILMethods
.StrToDbl;
3583
if ((object) typSrc == (object) TypeFactory.DoubleX) meth =
XmlILMethods
.DblToInt;
3587
if ((object) typSrc == (object) TypeFactory.DoubleX) meth =
XmlILMethods
.DblToLng;
3591
if ((object) typSrc == (object) TypeFactory.Item) meth =
XmlILMethods
.ItemToNode;
3592
else if ((object) typSrc == (object) TypeFactory.ItemS) meth =
XmlILMethods
.ItemsToNode;
3597
if ((object) typSrc == (object) TypeFactory.Item) meth =
XmlILMethods
.ItemToNodes;
3598
else if ((object) typSrc == (object) TypeFactory.ItemS) meth =
XmlILMethods
.ItemsToNodes;
3602
if ((object) typSrc == (object) TypeFactory.DateTimeX) meth =
XmlILMethods
.DTToStr;
3603
else if ((object) typSrc == (object) TypeFactory.DoubleX) meth =
XmlILMethods
.DblToStr;
3604
else if ((object) typSrc == (object) TypeFactory.Item) meth =
XmlILMethods
.ItemToStr;
3605
else if ((object) typSrc == (object) TypeFactory.ItemS) meth =
XmlILMethods
.ItemsToStr;
3950
this.helper.Call(
XmlILMethods
.QNameEqualLit);
3958
this.helper.Call(
XmlILMethods
.QNameEqualNav);
4500
methods =
XmlILMethods
.StorageMethods[cacheType];
System\Xml\Xsl\XmlIlGenerator.cs (3)
296
this.helper.Call(
XmlILMethods
.NavMoveTo);
305
this.helper.Call(
XmlILMethods
.NavClone);
352
this.helper.Call(
XmlILMethods
.InitializeArray);