Пример #1
0
 static public IEnumerable <ILValue> GetILIndexedRange(this ILValue item, int start, int end)
 {
     for (int i = start; i < end; i++)
     {
         yield return(item.GetILIndexed(i));
     }
 }
Пример #2
0
 static public IEnumerable <ILValue> GetILExpandedParams(this ILValue item, int start_index, IEnumerable <Type> types)
 {
     return(types.ConvertWithIndex((i, t) => item.GetILIndexed(i + start_index).GetILImplicitCast(t)));
 }