static public IEnumerable <ILValue> GetILIndexedRange(this ILValue item, int start, int end) { for (int i = start; i < end; i++) { yield return(item.GetILIndexed(i)); } }
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))); }