285 references to XmlILMethods
System.Private.Xml (285)
System\Xml\Xsl\IlGen\GenerateHelper.cs (81)
575
Call(
XmlILMethods
.GetOutput);
649
Call(
XmlILMethods
.GetTypeFromHandle);
682
Call(
XmlILMethods
.Context);
688
Call(
XmlILMethods
.XsltLib);
870
Call(
XmlILMethods
.StrCat2);
873
Call(
XmlILMethods
.StrCat3);
876
Call(
XmlILMethods
.StrCat4);
974
case QilNodeType.Add: meth =
XmlILMethods
.DecAdd; break;
975
case QilNodeType.Subtract: meth =
XmlILMethods
.DecSub; break;
976
case QilNodeType.Multiply: meth =
XmlILMethods
.DecMul; break;
977
case QilNodeType.Divide: meth =
XmlILMethods
.DecDiv; break;
978
case QilNodeType.Modulo: meth =
XmlILMethods
.DecRem; break;
979
case QilNodeType.Negate: meth =
XmlILMethods
.DecNeg; break;
998
case XmlTypeCode.String: meth =
XmlILMethods
.StrEq; break;
999
case XmlTypeCode.QName: meth =
XmlILMethods
.QNameEq; break;
1000
case XmlTypeCode.Decimal: meth =
XmlILMethods
.DecEq; break;
1015
case XmlTypeCode.String: meth =
XmlILMethods
.StrCmp; break;
1016
case XmlTypeCode.Decimal: meth =
XmlILMethods
.DecCmp; break;
1036
Call(
XmlILMethods
.StartRtfConstr);
1043
Call(
XmlILMethods
.EndRtfConstr);
1051
Call(
XmlILMethods
.StartSeqConstr);
1058
Call(
XmlILMethods
.EndSeqConstr);
1065
Call(
XmlILMethods
.GetEarly);
1073
Call(
XmlILMethods
.GetAtomizedName);
1080
Call(
XmlILMethods
.GetNameFilter);
1087
Call(
XmlILMethods
.GetTypeFilter);
1094
Call(
XmlILMethods
.TagAndMappings);
1099
Call(
XmlILMethods
.TagAndNamespace);
1107
Call(
XmlILMethods
.GetGlobalValue);
1114
Call(
XmlILMethods
.SetGlobalValue);
1121
Call(
XmlILMethods
.GetCollation);
1147
Call(
XmlILMethods
.GetParam);
1158
Call(
XmlILMethods
.StartTree);
1164
Call(
XmlILMethods
.EndTree);
1171
Call(
XmlILMethods
.StartRoot);
1178
Call(
XmlILMethods
.EndRoot);
1191
case GenerateNameType.LiteralLocalName: meth =
XmlILMethods
.StartElemLocName; break;
1192
case GenerateNameType.LiteralName: meth =
XmlILMethods
.StartElemLitName; break;
1193
case GenerateNameType.CopiedName: meth =
XmlILMethods
.StartElemCopyName; break;
1194
case GenerateNameType.TagNameAndMappings: meth =
XmlILMethods
.StartElemMapName; break;
1195
case GenerateNameType.TagNameAndNamespace: meth =
XmlILMethods
.StartElemNmspName; break;
1196
case GenerateNameType.QName: meth =
XmlILMethods
.StartElemQName; break;
1205
case GenerateNameType.LiteralLocalName: meth =
XmlILMethods
.StartElemLocNameUn; break;
1206
case GenerateNameType.LiteralName: meth =
XmlILMethods
.StartElemLitNameUn; break;
1222
meth =
XmlILMethods
.EndElemStackName;
1229
case GenerateNameType.LiteralLocalName: meth =
XmlILMethods
.EndElemLocNameUn; break;
1230
case GenerateNameType.LiteralName: meth =
XmlILMethods
.EndElemLitNameUn; break;
1241
Call(
XmlILMethods
.StartContentUn);
1254
case GenerateNameType.LiteralLocalName: meth =
XmlILMethods
.StartAttrLocName; break;
1255
case GenerateNameType.LiteralName: meth =
XmlILMethods
.StartAttrLitName; break;
1256
case GenerateNameType.CopiedName: meth =
XmlILMethods
.StartAttrCopyName; break;
1257
case GenerateNameType.TagNameAndMappings: meth =
XmlILMethods
.StartAttrMapName; break;
1258
case GenerateNameType.TagNameAndNamespace: meth =
XmlILMethods
.StartAttrNmspName; break;
1259
case GenerateNameType.QName: meth =
XmlILMethods
.StartAttrQName; break;
1268
case GenerateNameType.LiteralLocalName: meth =
XmlILMethods
.StartAttrLocNameUn; break;
1269
case GenerateNameType.LiteralName: meth =
XmlILMethods
.StartAttrLitNameUn; break;
1285
Call(
XmlILMethods
.EndAttr);
1290
Call(
XmlILMethods
.EndAttrUn);
1300
Call(
XmlILMethods
.NamespaceDecl);
1305
Call(
XmlILMethods
.NamespaceDeclUn);
1316
Call(
XmlILMethods
.NoEntText);
1318
Call(
XmlILMethods
.Text);
1324
Call(
XmlILMethods
.NoEntTextUn);
1326
Call(
XmlILMethods
.TextUn);
1332
Call(
XmlILMethods
.StartPI);
1338
Call(
XmlILMethods
.EndPI);
1344
Call(
XmlILMethods
.StartComment);
1350
Call(
XmlILMethods
.EndComment);
1360
XmlILStorageMethods meth =
XmlILMethods
.StorageMethods[itemStorageType];
1366
Call(
XmlILMethods
.StorageMethods[itemStorageType].IListItem);
1378
meth =
XmlILMethods
.StorageMethods[clrType].ValueAs;
1384
Call(
XmlILMethods
.ValueAsAny);
1407
meth =
XmlILMethods
.SortKeyEmpty;
1415
case XmlTypeCode.String: meth =
XmlILMethods
.SortKeyString; break;
1416
case XmlTypeCode.Decimal: meth =
XmlILMethods
.SortKeyDecimal; break;
1417
case XmlTypeCode.Integer: meth =
XmlILMethods
.SortKeyInteger; break;
1418
case XmlTypeCode.Int: meth =
XmlILMethods
.SortKeyInt; break;
1419
case XmlTypeCode.Boolean: meth =
XmlILMethods
.SortKeyInt; break;
1420
case XmlTypeCode.Double: meth =
XmlILMethods
.SortKeyDouble; break;
1421
case XmlTypeCode.DateTime: meth =
XmlILMethods
.SortKeyDateTime; break;
1426
meth =
XmlILMethods
.SortKeyEmpty;
System\Xml\Xsl\IlGen\IteratorDescriptor.cs (3)
691
_helper.Call(
XmlILMethods
.NavsToItems);
699
_helper.Call(
XmlILMethods
.ItemsToNavs);
732
_helper.Call(
XmlILMethods
.StorageMethods[_storage.ItemStorageType].ToAtomicValue!);
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (198)
141
_helper.Call(
XmlILMethods
.GlobalComputed);
167
_helper.Call(
XmlILMethods
.ChangeTypeXsltResult);
196
_helper.Call(
XmlILMethods
.ThrowException);
261
_helper.Call(
XmlILMethods
.SeqMatchesCode);
390
_helper.Call(
XmlILMethods
.WriteItem);
409
_helper.Call(
XmlILMethods
.GetDataSource);
447
_helper.Call(
XmlILMethods
.ThrowException);
471
_helper.Call(
XmlILMethods
.SendMessage);
1252
return CreateSetIterator(ndUnion, "$$$iterUnion", typeof(UnionIterator),
XmlILMethods
.UnionCreate,
XmlILMethods
.UnionNext,
XmlILMethods
.UnionCurrent);
1260
return CreateSetIterator(ndInter, "$$$iterInter", typeof(IntersectIterator),
XmlILMethods
.InterCreate,
XmlILMethods
.InterNext,
XmlILMethods
.InterCurrent);
1268
return CreateSetIterator(ndDiff, "$$$iterDiff", typeof(DifferenceIterator),
XmlILMethods
.DiffCreate,
XmlILMethods
.DiffNext,
XmlILMethods
.DiffCurrent);
1348
XmlILStorageMethods meths =
XmlILMethods
.StorageMethods[GetItemStorageType(ndAvg)];
1357
XmlILStorageMethods meths =
XmlILMethods
.StorageMethods[GetItemStorageType(ndSum)];
1366
XmlILStorageMethods meths =
XmlILMethods
.StorageMethods[GetItemStorageType(ndMin)];
1375
XmlILStorageMethods meths =
XmlILMethods
.StorageMethods[GetItemStorageType(ndMax)];
1495
_helper.Call(
XmlILMethods
.StrLen);
1547
_helper.Call(
XmlILMethods
.StrCatClear);
1554
_helper.Call(
XmlILMethods
.StrCatDelim);
1570
_helper.Call(
XmlILMethods
.StrCatResult);
1593
_helper.Call(
XmlILMethods
.StrCatCat);
1784
_helper.Call(
XmlILMethods
.NavSamePos);
1817
_helper.Call(
XmlILMethods
.CompPos);
1956
_helper.Call(
XmlILMethods
.ElemContentCreate);
1958
GenerateSimpleIterator(typeof(XPathNavigator), locIter,
XmlILMethods
.ElemContentNext,
XmlILMethods
.ElemContentCurrent);
1964
CreateSimpleIterator(input, "$$$iterContent", typeof(ContentIterator),
XmlILMethods
.ContentCreate,
XmlILMethods
.ContentNext,
XmlILMethods
.ContentCurrent);
1975
_helper.Call(
XmlILMethods
.KindContentCreate);
1977
GenerateSimpleIterator(typeof(XPathNavigator), locIter,
XmlILMethods
.KindContentNext,
XmlILMethods
.KindContentCurrent);
1983
CreateFilteredIterator(input, "$$$iterPar", typeof(ParentIterator),
XmlILMethods
.ParentCreate,
XmlILMethods
.ParentNext,
XmlILMethods
.ParentCurrent,
1989
CreateFilteredIterator(input, "$$$iterAnc", typeof(AncestorIterator),
XmlILMethods
.AncCreate,
XmlILMethods
.AncNext,
XmlILMethods
.AncCurrent,
1995
CreateFilteredIterator(input, "$$$iterDesc", typeof(DescendantIterator),
XmlILMethods
.DescCreate,
XmlILMethods
.DescNext,
XmlILMethods
.DescCurrent,
2000
CreateFilteredIterator(input, "$$$iterPrec", typeof(PrecedingIterator),
XmlILMethods
.PrecCreate,
XmlILMethods
.PrecNext,
XmlILMethods
.PrecCurrent,
2005
CreateFilteredIterator(input, "$$$iterFollSib", typeof(FollowingSiblingIterator),
XmlILMethods
.FollSibCreate,
XmlILMethods
.FollSibNext,
XmlILMethods
.FollSibCurrent,
2010
CreateFilteredIterator(input, "$$$iterPreSib", typeof(PrecedingSiblingIterator),
XmlILMethods
.PreSibCreate,
XmlILMethods
.PreSibNext,
XmlILMethods
.PreSibCurrent,
2015
CreateFilteredIterator(input, "$$$iterRange", typeof(NodeRangeIterator),
XmlILMethods
.NodeRangeCreate,
XmlILMethods
.NodeRangeNext,
XmlILMethods
.NodeRangeCurrent,
2020
CreateFilteredIterator(input, "$$$iterFoll", typeof(XPathFollowingIterator),
XmlILMethods
.XPFollCreate,
XmlILMethods
.XPFollNext,
XmlILMethods
.XPFollCurrent,
2025
CreateFilteredIterator(input, "$$$iterPrec", typeof(XPathPrecedingIterator),
XmlILMethods
.XPPrecCreate,
XmlILMethods
.XPPrecNext,
XmlILMethods
.XPPrecCurrent,
2038
CreateSimpleIterator(input, "$$$iterAttr", typeof(AttributeIterator),
XmlILMethods
.AttrCreate,
XmlILMethods
.AttrNext,
XmlILMethods
.AttrCurrent);
2056
_helper.Call(
XmlILMethods
.FindIndex);
2077
_helper.Call(
XmlILMethods
.IndexAdd);
2086
_helper.Call(
XmlILMethods
.AddNewIndex);
2093
_helper.Call(
XmlILMethods
.IndexLookup);
2269
XmlILStorageMethods methods =
XmlILMethods
.StorageMethods[itemStorageType];
2280
_helper.Call(
XmlILMethods
.SortKeyCreate);
2300
_helper.Call(
XmlILMethods
.SortKeyFinish);
2312
_helper.Call(
XmlILMethods
.SortKeyKeys);
2344
_helper.Call(
XmlILMethods
.CreateCollation);
2400
_helper.Call(
XmlILMethods
.DocOrder);
2448
CreateContainerIterator(ndDod, "$$$iterContent", typeof(ContentMergeIterator),
XmlILMethods
.ContentMergeCreate,
XmlILMethods
.ContentMergeNext,
XmlILMethods
.ContentMergeCurrent,
2454
CreateContainerIterator(ndDod, "$$$iterDesc", typeof(DescendantMergeIterator),
XmlILMethods
.DescMergeCreate,
XmlILMethods
.DescMergeNext,
XmlILMethods
.DescMergeCurrent,
2459
CreateContainerIterator(ndDod, "$$$iterFoll", typeof(XPathFollowingMergeIterator),
XmlILMethods
.XPFollMergeCreate,
XmlILMethods
.XPFollMergeNext,
XmlILMethods
.XPFollMergeCurrent,
2464
CreateContainerIterator(ndDod, "$$$iterFollSib", typeof(FollowingSiblingMergeIterator),
XmlILMethods
.FollSibMergeCreate,
XmlILMethods
.FollSibMergeNext,
XmlILMethods
.FollSibMergeCurrent,
2469
CreateContainerIterator(ndDod, "$$$iterPrec", typeof(XPathPrecedingMergeIterator),
XmlILMethods
.XPPrecMergeCreate,
XmlILMethods
.XPPrecMergeNext,
XmlILMethods
.XPPrecMergeCurrent,
2485
CreateFilteredIterator(input, "$$$iterAnc", typeof(AncestorDocOrderIterator),
XmlILMethods
.AncDOCreate,
XmlILMethods
.AncDONext,
XmlILMethods
.AncDOCurrent,
2490
CreateFilteredIterator(input, "$$$iterPreSib", typeof(PrecedingSiblingDocOrderIterator),
XmlILMethods
.PreSibDOCreate,
XmlILMethods
.PreSibDONext,
XmlILMethods
.PreSibDOCurrent,
2495
CreateFilteredIterator(input, "$$$iterPrec", typeof(XPathPrecedingDocOrderIterator),
XmlILMethods
.XPPrecDOCreate,
XmlILMethods
.XPPrecDONext,
XmlILMethods
.XPPrecDOCurrent,
2514
_helper.Call(
XmlILMethods
.DodMergeCreate);
2525
_helper.Call(
XmlILMethods
.DodMergeAdd);
2534
_helper.Call(
XmlILMethods
.DodMergeSeq);
2590
CreateSimpleIterator(ndContent.Child, "$$$iterAttrContent", typeof(AttributeContentIterator),
XmlILMethods
.AttrContentCreate,
XmlILMethods
.AttrContentNext,
XmlILMethods
.AttrContentCurrent);
2612
_helper.Call(
XmlILMethods
.NavMoveAttr);
2632
_helper.Call(
XmlILMethods
.NavMoveParent);
2652
_helper.Call(
XmlILMethods
.NavMoveRoot);
2668
_helper.Call(
XmlILMethods
.GetDefaultDataSource);
2678
CreateFilteredIterator(ndDesc.Child, "$$$iterDesc", typeof(DescendantIterator),
XmlILMethods
.DescCreate,
XmlILMethods
.DescNext,
XmlILMethods
.DescCurrent,
2688
CreateFilteredIterator(ndDesc.Child, "$$$iterDesc", typeof(DescendantIterator),
XmlILMethods
.DescCreate,
XmlILMethods
.DescNext,
XmlILMethods
.DescCurrent,
2698
CreateFilteredIterator(ndAnc.Child, "$$$iterAnc", typeof(AncestorIterator),
XmlILMethods
.AncCreate,
XmlILMethods
.AncNext,
XmlILMethods
.AncCurrent,
2708
CreateFilteredIterator(ndAnc.Child, "$$$iterAnc", typeof(AncestorIterator),
XmlILMethods
.AncCreate,
XmlILMethods
.AncNext,
XmlILMethods
.AncCurrent,
2718
CreateFilteredIterator(ndPrec.Child, "$$$iterPrec", typeof(PrecedingIterator),
XmlILMethods
.PrecCreate,
XmlILMethods
.PrecNext,
XmlILMethods
.PrecCurrent,
2728
CreateFilteredIterator(ndFollSib.Child, "$$$iterFollSib", typeof(FollowingSiblingIterator),
XmlILMethods
.FollSibCreate,
XmlILMethods
.FollSibNext,
XmlILMethods
.FollSibCurrent,
2738
CreateFilteredIterator(ndPreSib.Child, "$$$iterPreSib", typeof(PrecedingSiblingIterator),
XmlILMethods
.PreSibCreate,
XmlILMethods
.PreSibNext,
XmlILMethods
.PreSibCurrent,
2748
CreateFilteredIterator(ndRange.Left, "$$$iterRange", typeof(NodeRangeIterator),
XmlILMethods
.NodeRangeCreate,
XmlILMethods
.NodeRangeNext,
XmlILMethods
.NodeRangeCurrent,
2765
_helper.Call(
XmlILMethods
.IdCreate);
2767
GenerateSimpleIterator(typeof(XPathNavigator), locIter,
XmlILMethods
.IdNext,
XmlILMethods
.IdCurrent);
2958
_helper.Call(
XmlILMethods
.CommentText);
2963
_helper.Call(
XmlILMethods
.PIText);
3049
_helper.Call(
XmlILMethods
.RtfConstr);
3112
_helper.Call(
XmlILMethods
.NavLocalName);
3113
_helper.Call(
XmlILMethods
.NavNmsp);
3120
_helper.Call(
XmlILMethods
.NavLocalName);
3126
_helper.Call(
XmlILMethods
.NavNmsp);
3132
_helper.Call(
XmlILMethods
.NavPrefix);
3190
_helper.Call(
XmlILMethods
.ItemIsNode);
3213
_helper.Call(typDerived.IsSingleton ?
XmlILMethods
.ItemMatchesCode :
XmlILMethods
.SeqMatchesCode);
3223
_helper.Call(typDerived.IsSingleton ?
XmlILMethods
.ItemMatchesType :
XmlILMethods
.SeqMatchesType);
3295
_helper.Call(
XmlILMethods
.NavType);
3448
_helper.Call(
XmlILMethods
.Value);
3460
_helper.Call(
XmlILMethods
.Value);
3483
CreateFilteredIterator(ndFoll.Child, "$$$iterFoll", typeof(XPathFollowingIterator),
XmlILMethods
.XPFollCreate,
XmlILMethods
.XPFollNext,
XmlILMethods
.XPFollCurrent,
3493
CreateFilteredIterator(ndPrec.Child, "$$$iterPrec", typeof(XPathPrecedingIterator),
XmlILMethods
.XPPrecCreate,
XmlILMethods
.XPPrecNext,
XmlILMethods
.XPPrecCurrent,
3503
CreateSimpleIterator(ndNmsp.Child, "$$$iterNmsp", typeof(NamespaceIterator),
XmlILMethods
.NmspCreate,
XmlILMethods
.NmspNext,
XmlILMethods
.NmspCurrent);
3523
_helper.Call(
XmlILMethods
.GenId);
3536
_helper.Call(
XmlILMethods
.GenId);
3593
_helper.Call(
XmlILMethods
.InvokeXsltLate);
3660
if (clrTypeFormalArg ==
XmlILMethods
.StorageMethods[itemType].IListType)
3665
else if (clrTypeFormalArg ==
XmlILMethods
.StorageMethods[typeof(XPathItem)].IListType)
3697
_helper.Call(
XmlILMethods
.ChangeTypeXsltArg);
3713
_helper.Emit(OpCodes.Ldsfld,
XmlILMethods
.StorageMethods[typeof(XPathItem)].SeqEmpty);
3719
_helper.Call(
XmlILMethods
.ChangeTypeXsltResult);
3730
_helper.Call(
XmlILMethods
.ThrowException);
3753
_helper.Call(
XmlILMethods
.StartCopy);
3765
_helper.Call(
XmlILMethods
.EndCopy);
3785
_helper.Call(
XmlILMethods
.CopyOf);
3838
if ((object)typSrc == (object)TypeFactory.Item) meth =
XmlILMethods
.ItemToBool;
3839
else if ((object)typSrc == (object)TypeFactory.ItemS) meth =
XmlILMethods
.ItemsToBool;
3844
if ((object)typSrc == (object)TypeFactory.StringX) meth =
XmlILMethods
.StrToDT;
3849
if ((object)typSrc == (object)TypeFactory.DoubleX) meth =
XmlILMethods
.DblToDec;
3854
if ((object)typSrc == (object)TypeFactory.DecimalX) meth =
XmlILMethods
.DecToDbl;
3855
else if ((object)typSrc == (object)TypeFactory.IntX) meth =
XmlILMethods
.IntToDbl;
3856
else if ((object)typSrc == (object)TypeFactory.Item) meth =
XmlILMethods
.ItemToDbl;
3857
else if ((object)typSrc == (object)TypeFactory.ItemS) meth =
XmlILMethods
.ItemsToDbl;
3858
else if ((object)typSrc == (object)TypeFactory.LongX) meth =
XmlILMethods
.LngToDbl;
3859
else if ((object)typSrc == (object)TypeFactory.StringX) meth =
XmlILMethods
.StrToDbl;
3864
if ((object)typSrc == (object)TypeFactory.DoubleX) meth =
XmlILMethods
.DblToInt;
3869
if ((object)typSrc == (object)TypeFactory.DoubleX) meth =
XmlILMethods
.DblToLng;
3874
if ((object)typSrc == (object)TypeFactory.Item) meth =
XmlILMethods
.ItemToNode;
3875
else if ((object)typSrc == (object)TypeFactory.ItemS) meth =
XmlILMethods
.ItemsToNode;
3881
if ((object)typSrc == (object)TypeFactory.Item) meth =
XmlILMethods
.ItemToNodes;
3882
else if ((object)typSrc == (object)TypeFactory.ItemS) meth =
XmlILMethods
.ItemsToNodes;
3887
if ((object)typSrc == (object)TypeFactory.DateTimeX) meth =
XmlILMethods
.DTToStr;
3888
else if ((object)typSrc == (object)TypeFactory.DoubleX) meth =
XmlILMethods
.DblToStr;
3889
else if ((object)typSrc == (object)TypeFactory.Item) meth =
XmlILMethods
.ItemToStr;
3890
else if ((object)typSrc == (object)TypeFactory.ItemS) meth =
XmlILMethods
.ItemsToStr;
4262
_helper.Call(
XmlILMethods
.QNameEqualLit);
4271
_helper.Call(
XmlILMethods
.QNameEqualNav);
4874
methods =
XmlILMethods
.StorageMethods[cacheType];
System\Xml\Xsl\XmlIlGenerator.cs (3)
313
_helper.Call(
XmlILMethods
.NavMoveTo);
322
_helper.Call(
XmlILMethods
.NavClone);
373
_helper.Call(
XmlILMethods
.InitializeArray);