285 references to XmlILMethods
System.Private.Xml (285)
System\Xml\Xsl\IlGen\GenerateHelper.cs (81)
575Call(XmlILMethods.GetOutput); 649Call(XmlILMethods.GetTypeFromHandle); 682Call(XmlILMethods.Context); 688Call(XmlILMethods.XsltLib); 870Call(XmlILMethods.StrCat2); 873Call(XmlILMethods.StrCat3); 876Call(XmlILMethods.StrCat4); 974case QilNodeType.Add: meth = XmlILMethods.DecAdd; break; 975case QilNodeType.Subtract: meth = XmlILMethods.DecSub; break; 976case QilNodeType.Multiply: meth = XmlILMethods.DecMul; break; 977case QilNodeType.Divide: meth = XmlILMethods.DecDiv; break; 978case QilNodeType.Modulo: meth = XmlILMethods.DecRem; break; 979case QilNodeType.Negate: meth = XmlILMethods.DecNeg; break; 998case XmlTypeCode.String: meth = XmlILMethods.StrEq; break; 999case XmlTypeCode.QName: meth = XmlILMethods.QNameEq; break; 1000case XmlTypeCode.Decimal: meth = XmlILMethods.DecEq; break; 1015case XmlTypeCode.String: meth = XmlILMethods.StrCmp; break; 1016case XmlTypeCode.Decimal: meth = XmlILMethods.DecCmp; break; 1036Call(XmlILMethods.StartRtfConstr); 1043Call(XmlILMethods.EndRtfConstr); 1051Call(XmlILMethods.StartSeqConstr); 1058Call(XmlILMethods.EndSeqConstr); 1065Call(XmlILMethods.GetEarly); 1073Call(XmlILMethods.GetAtomizedName); 1080Call(XmlILMethods.GetNameFilter); 1087Call(XmlILMethods.GetTypeFilter); 1094Call(XmlILMethods.TagAndMappings); 1099Call(XmlILMethods.TagAndNamespace); 1107Call(XmlILMethods.GetGlobalValue); 1114Call(XmlILMethods.SetGlobalValue); 1121Call(XmlILMethods.GetCollation); 1147Call(XmlILMethods.GetParam); 1158Call(XmlILMethods.StartTree); 1164Call(XmlILMethods.EndTree); 1171Call(XmlILMethods.StartRoot); 1178Call(XmlILMethods.EndRoot); 1191case GenerateNameType.LiteralLocalName: meth = XmlILMethods.StartElemLocName; break; 1192case GenerateNameType.LiteralName: meth = XmlILMethods.StartElemLitName; break; 1193case GenerateNameType.CopiedName: meth = XmlILMethods.StartElemCopyName; break; 1194case GenerateNameType.TagNameAndMappings: meth = XmlILMethods.StartElemMapName; break; 1195case GenerateNameType.TagNameAndNamespace: meth = XmlILMethods.StartElemNmspName; break; 1196case GenerateNameType.QName: meth = XmlILMethods.StartElemQName; break; 1205case GenerateNameType.LiteralLocalName: meth = XmlILMethods.StartElemLocNameUn; break; 1206case GenerateNameType.LiteralName: meth = XmlILMethods.StartElemLitNameUn; break; 1222meth = XmlILMethods.EndElemStackName; 1229case GenerateNameType.LiteralLocalName: meth = XmlILMethods.EndElemLocNameUn; break; 1230case GenerateNameType.LiteralName: meth = XmlILMethods.EndElemLitNameUn; break; 1241Call(XmlILMethods.StartContentUn); 1254case GenerateNameType.LiteralLocalName: meth = XmlILMethods.StartAttrLocName; break; 1255case GenerateNameType.LiteralName: meth = XmlILMethods.StartAttrLitName; break; 1256case GenerateNameType.CopiedName: meth = XmlILMethods.StartAttrCopyName; break; 1257case GenerateNameType.TagNameAndMappings: meth = XmlILMethods.StartAttrMapName; break; 1258case GenerateNameType.TagNameAndNamespace: meth = XmlILMethods.StartAttrNmspName; break; 1259case GenerateNameType.QName: meth = XmlILMethods.StartAttrQName; break; 1268case GenerateNameType.LiteralLocalName: meth = XmlILMethods.StartAttrLocNameUn; break; 1269case GenerateNameType.LiteralName: meth = XmlILMethods.StartAttrLitNameUn; break; 1285Call(XmlILMethods.EndAttr); 1290Call(XmlILMethods.EndAttrUn); 1300Call(XmlILMethods.NamespaceDecl); 1305Call(XmlILMethods.NamespaceDeclUn); 1316Call(XmlILMethods.NoEntText); 1318Call(XmlILMethods.Text); 1324Call(XmlILMethods.NoEntTextUn); 1326Call(XmlILMethods.TextUn); 1332Call(XmlILMethods.StartPI); 1338Call(XmlILMethods.EndPI); 1344Call(XmlILMethods.StartComment); 1350Call(XmlILMethods.EndComment); 1360XmlILStorageMethods meth = XmlILMethods.StorageMethods[itemStorageType]; 1366Call(XmlILMethods.StorageMethods[itemStorageType].IListItem); 1378meth = XmlILMethods.StorageMethods[clrType].ValueAs; 1384Call(XmlILMethods.ValueAsAny); 1407meth = XmlILMethods.SortKeyEmpty; 1415case XmlTypeCode.String: meth = XmlILMethods.SortKeyString; break; 1416case XmlTypeCode.Decimal: meth = XmlILMethods.SortKeyDecimal; break; 1417case XmlTypeCode.Integer: meth = XmlILMethods.SortKeyInteger; break; 1418case XmlTypeCode.Int: meth = XmlILMethods.SortKeyInt; break; 1419case XmlTypeCode.Boolean: meth = XmlILMethods.SortKeyInt; break; 1420case XmlTypeCode.Double: meth = XmlILMethods.SortKeyDouble; break; 1421case XmlTypeCode.DateTime: meth = XmlILMethods.SortKeyDateTime; break; 1426meth = 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); 1252return CreateSetIterator(ndUnion, "$$$iterUnion", typeof(UnionIterator), XmlILMethods.UnionCreate, XmlILMethods.UnionNext, XmlILMethods.UnionCurrent); 1260return CreateSetIterator(ndInter, "$$$iterInter", typeof(IntersectIterator), XmlILMethods.InterCreate, XmlILMethods.InterNext, XmlILMethods.InterCurrent); 1268return CreateSetIterator(ndDiff, "$$$iterDiff", typeof(DifferenceIterator), XmlILMethods.DiffCreate, XmlILMethods.DiffNext, XmlILMethods.DiffCurrent); 1348XmlILStorageMethods meths = XmlILMethods.StorageMethods[GetItemStorageType(ndAvg)]; 1357XmlILStorageMethods meths = XmlILMethods.StorageMethods[GetItemStorageType(ndSum)]; 1366XmlILStorageMethods meths = XmlILMethods.StorageMethods[GetItemStorageType(ndMin)]; 1375XmlILStorageMethods 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); 1958GenerateSimpleIterator(typeof(XPathNavigator), locIter, XmlILMethods.ElemContentNext, XmlILMethods.ElemContentCurrent); 1964CreateSimpleIterator(input, "$$$iterContent", typeof(ContentIterator), XmlILMethods.ContentCreate, XmlILMethods.ContentNext, XmlILMethods.ContentCurrent); 1975_helper.Call(XmlILMethods.KindContentCreate); 1977GenerateSimpleIterator(typeof(XPathNavigator), locIter, XmlILMethods.KindContentNext, XmlILMethods.KindContentCurrent); 1983CreateFilteredIterator(input, "$$$iterPar", typeof(ParentIterator), XmlILMethods.ParentCreate, XmlILMethods.ParentNext, XmlILMethods.ParentCurrent, 1989CreateFilteredIterator(input, "$$$iterAnc", typeof(AncestorIterator), XmlILMethods.AncCreate, XmlILMethods.AncNext, XmlILMethods.AncCurrent, 1995CreateFilteredIterator(input, "$$$iterDesc", typeof(DescendantIterator), XmlILMethods.DescCreate, XmlILMethods.DescNext, XmlILMethods.DescCurrent, 2000CreateFilteredIterator(input, "$$$iterPrec", typeof(PrecedingIterator), XmlILMethods.PrecCreate, XmlILMethods.PrecNext, XmlILMethods.PrecCurrent, 2005CreateFilteredIterator(input, "$$$iterFollSib", typeof(FollowingSiblingIterator), XmlILMethods.FollSibCreate, XmlILMethods.FollSibNext, XmlILMethods.FollSibCurrent, 2010CreateFilteredIterator(input, "$$$iterPreSib", typeof(PrecedingSiblingIterator), XmlILMethods.PreSibCreate, XmlILMethods.PreSibNext, XmlILMethods.PreSibCurrent, 2015CreateFilteredIterator(input, "$$$iterRange", typeof(NodeRangeIterator), XmlILMethods.NodeRangeCreate, XmlILMethods.NodeRangeNext, XmlILMethods.NodeRangeCurrent, 2020CreateFilteredIterator(input, "$$$iterFoll", typeof(XPathFollowingIterator), XmlILMethods.XPFollCreate, XmlILMethods.XPFollNext, XmlILMethods.XPFollCurrent, 2025CreateFilteredIterator(input, "$$$iterPrec", typeof(XPathPrecedingIterator), XmlILMethods.XPPrecCreate, XmlILMethods.XPPrecNext, XmlILMethods.XPPrecCurrent, 2038CreateSimpleIterator(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); 2269XmlILStorageMethods 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); 2448CreateContainerIterator(ndDod, "$$$iterContent", typeof(ContentMergeIterator), XmlILMethods.ContentMergeCreate, XmlILMethods.ContentMergeNext, XmlILMethods.ContentMergeCurrent, 2454CreateContainerIterator(ndDod, "$$$iterDesc", typeof(DescendantMergeIterator), XmlILMethods.DescMergeCreate, XmlILMethods.DescMergeNext, XmlILMethods.DescMergeCurrent, 2459CreateContainerIterator(ndDod, "$$$iterFoll", typeof(XPathFollowingMergeIterator), XmlILMethods.XPFollMergeCreate, XmlILMethods.XPFollMergeNext, XmlILMethods.XPFollMergeCurrent, 2464CreateContainerIterator(ndDod, "$$$iterFollSib", typeof(FollowingSiblingMergeIterator), XmlILMethods.FollSibMergeCreate, XmlILMethods.FollSibMergeNext, XmlILMethods.FollSibMergeCurrent, 2469CreateContainerIterator(ndDod, "$$$iterPrec", typeof(XPathPrecedingMergeIterator), XmlILMethods.XPPrecMergeCreate, XmlILMethods.XPPrecMergeNext, XmlILMethods.XPPrecMergeCurrent, 2485CreateFilteredIterator(input, "$$$iterAnc", typeof(AncestorDocOrderIterator), XmlILMethods.AncDOCreate, XmlILMethods.AncDONext, XmlILMethods.AncDOCurrent, 2490CreateFilteredIterator(input, "$$$iterPreSib", typeof(PrecedingSiblingDocOrderIterator), XmlILMethods.PreSibDOCreate, XmlILMethods.PreSibDONext, XmlILMethods.PreSibDOCurrent, 2495CreateFilteredIterator(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); 2590CreateSimpleIterator(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); 2678CreateFilteredIterator(ndDesc.Child, "$$$iterDesc", typeof(DescendantIterator), XmlILMethods.DescCreate, XmlILMethods.DescNext, XmlILMethods.DescCurrent, 2688CreateFilteredIterator(ndDesc.Child, "$$$iterDesc", typeof(DescendantIterator), XmlILMethods.DescCreate, XmlILMethods.DescNext, XmlILMethods.DescCurrent, 2698CreateFilteredIterator(ndAnc.Child, "$$$iterAnc", typeof(AncestorIterator), XmlILMethods.AncCreate, XmlILMethods.AncNext, XmlILMethods.AncCurrent, 2708CreateFilteredIterator(ndAnc.Child, "$$$iterAnc", typeof(AncestorIterator), XmlILMethods.AncCreate, XmlILMethods.AncNext, XmlILMethods.AncCurrent, 2718CreateFilteredIterator(ndPrec.Child, "$$$iterPrec", typeof(PrecedingIterator), XmlILMethods.PrecCreate, XmlILMethods.PrecNext, XmlILMethods.PrecCurrent, 2728CreateFilteredIterator(ndFollSib.Child, "$$$iterFollSib", typeof(FollowingSiblingIterator), XmlILMethods.FollSibCreate, XmlILMethods.FollSibNext, XmlILMethods.FollSibCurrent, 2738CreateFilteredIterator(ndPreSib.Child, "$$$iterPreSib", typeof(PrecedingSiblingIterator), XmlILMethods.PreSibCreate, XmlILMethods.PreSibNext, XmlILMethods.PreSibCurrent, 2748CreateFilteredIterator(ndRange.Left, "$$$iterRange", typeof(NodeRangeIterator), XmlILMethods.NodeRangeCreate, XmlILMethods.NodeRangeNext, XmlILMethods.NodeRangeCurrent, 2765_helper.Call(XmlILMethods.IdCreate); 2767GenerateSimpleIterator(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); 3483CreateFilteredIterator(ndFoll.Child, "$$$iterFoll", typeof(XPathFollowingIterator), XmlILMethods.XPFollCreate, XmlILMethods.XPFollNext, XmlILMethods.XPFollCurrent, 3493CreateFilteredIterator(ndPrec.Child, "$$$iterPrec", typeof(XPathPrecedingIterator), XmlILMethods.XPPrecCreate, XmlILMethods.XPPrecNext, XmlILMethods.XPPrecCurrent, 3503CreateSimpleIterator(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); 3660if (clrTypeFormalArg == XmlILMethods.StorageMethods[itemType].IListType) 3665else 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); 3838if ((object)typSrc == (object)TypeFactory.Item) meth = XmlILMethods.ItemToBool; 3839else if ((object)typSrc == (object)TypeFactory.ItemS) meth = XmlILMethods.ItemsToBool; 3844if ((object)typSrc == (object)TypeFactory.StringX) meth = XmlILMethods.StrToDT; 3849if ((object)typSrc == (object)TypeFactory.DoubleX) meth = XmlILMethods.DblToDec; 3854if ((object)typSrc == (object)TypeFactory.DecimalX) meth = XmlILMethods.DecToDbl; 3855else if ((object)typSrc == (object)TypeFactory.IntX) meth = XmlILMethods.IntToDbl; 3856else if ((object)typSrc == (object)TypeFactory.Item) meth = XmlILMethods.ItemToDbl; 3857else if ((object)typSrc == (object)TypeFactory.ItemS) meth = XmlILMethods.ItemsToDbl; 3858else if ((object)typSrc == (object)TypeFactory.LongX) meth = XmlILMethods.LngToDbl; 3859else if ((object)typSrc == (object)TypeFactory.StringX) meth = XmlILMethods.StrToDbl; 3864if ((object)typSrc == (object)TypeFactory.DoubleX) meth = XmlILMethods.DblToInt; 3869if ((object)typSrc == (object)TypeFactory.DoubleX) meth = XmlILMethods.DblToLng; 3874if ((object)typSrc == (object)TypeFactory.Item) meth = XmlILMethods.ItemToNode; 3875else if ((object)typSrc == (object)TypeFactory.ItemS) meth = XmlILMethods.ItemsToNode; 3881if ((object)typSrc == (object)TypeFactory.Item) meth = XmlILMethods.ItemToNodes; 3882else if ((object)typSrc == (object)TypeFactory.ItemS) meth = XmlILMethods.ItemsToNodes; 3887if ((object)typSrc == (object)TypeFactory.DateTimeX) meth = XmlILMethods.DTToStr; 3888else if ((object)typSrc == (object)TypeFactory.DoubleX) meth = XmlILMethods.DblToStr; 3889else if ((object)typSrc == (object)TypeFactory.Item) meth = XmlILMethods.ItemToStr; 3890else if ((object)typSrc == (object)TypeFactory.ItemS) meth = XmlILMethods.ItemsToStr; 4262_helper.Call(XmlILMethods.QNameEqualLit); 4271_helper.Call(XmlILMethods.QNameEqualNav); 4874methods = XmlILMethods.StorageMethods[cacheType];
System\Xml\Xsl\XmlIlGenerator.cs (3)
313_helper.Call(XmlILMethods.NavMoveTo); 322_helper.Call(XmlILMethods.NavClone); 373_helper.Call(XmlILMethods.InitializeArray);