// Token: 0x060011A1 RID: 4513 RVA: 0x0005719C File Offset: 0x0005539C internal static IEnumerable <U> Values <T, U>(this IEnumerable <T> source, object key) where T : Class_361 { Class_517.ArgumentNotNull(source, "source"); foreach (T t2 in source) { Class_361 token = t2; if (key == null) { if (token is Class_362) { yield return(((Class_362)token).Convert <Class_362, U>()); } else { foreach (Class_361 t in token.pmethod_2469()) { yield return(t.Convert <Class_361, U>()); } } } else { Class_361 value = token.cmethod_2464(key); if (value != null) { yield return(value.Convert <Class_361, U>()); } } } yield break; }
// Token: 0x060011A0 RID: 4512 RVA: 0x00057164 File Offset: 0x00055364 public static U Value <T, U>(this IEnumerable <T> value) where T : Class_361 { Class_517.ArgumentNotNull(value, "source"); Class_361 class_ = value as Class_361; if (class_ == null) { throw new ArgumentException("Source value must be a JToken."); } return(class_.Convert <Class_361, U>()); }