227 lines
5.6 KiB
C#
227 lines
5.6 KiB
C#
using System;
|
|
|
|
namespace System.Linq
|
|
{
|
|
// Token: 0x02000031 RID: 49
|
|
internal static class Check
|
|
{
|
|
// Token: 0x0600026D RID: 621 RVA: 0x0000CB38 File Offset: 0x0000AD38
|
|
public static void Source(object source)
|
|
{
|
|
if (source == null)
|
|
{
|
|
throw new ArgumentNullException("source");
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600026E RID: 622 RVA: 0x0000CB4C File Offset: 0x0000AD4C
|
|
public static void Source1AndSource2(object source1, object source2)
|
|
{
|
|
if (source1 == null)
|
|
{
|
|
throw new ArgumentNullException("source1");
|
|
}
|
|
if (source2 == null)
|
|
{
|
|
throw new ArgumentNullException("source2");
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600026F RID: 623 RVA: 0x0000CB7C File Offset: 0x0000AD7C
|
|
public static void SourceAndFuncAndSelector(object source, object func, object selector)
|
|
{
|
|
if (source == null)
|
|
{
|
|
throw new ArgumentNullException("source");
|
|
}
|
|
if (func == null)
|
|
{
|
|
throw new ArgumentNullException("func");
|
|
}
|
|
if (selector == null)
|
|
{
|
|
throw new ArgumentNullException("selector");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000270 RID: 624 RVA: 0x0000CBB4 File Offset: 0x0000ADB4
|
|
public static void SourceAndFunc(object source, object func)
|
|
{
|
|
if (source == null)
|
|
{
|
|
throw new ArgumentNullException("source");
|
|
}
|
|
if (func == null)
|
|
{
|
|
throw new ArgumentNullException("func");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000271 RID: 625 RVA: 0x0000CBE4 File Offset: 0x0000ADE4
|
|
public static void SourceAndSelector(object source, object selector)
|
|
{
|
|
if (source == null)
|
|
{
|
|
throw new ArgumentNullException("source");
|
|
}
|
|
if (selector == null)
|
|
{
|
|
throw new ArgumentNullException("selector");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000272 RID: 626 RVA: 0x0000CC14 File Offset: 0x0000AE14
|
|
public static void SourceAndPredicate(object source, object predicate)
|
|
{
|
|
if (source == null)
|
|
{
|
|
throw new ArgumentNullException("source");
|
|
}
|
|
if (predicate == null)
|
|
{
|
|
throw new ArgumentNullException("predicate");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000273 RID: 627 RVA: 0x0000CC44 File Offset: 0x0000AE44
|
|
public static void FirstAndSecond(object first, object second)
|
|
{
|
|
if (first == null)
|
|
{
|
|
throw new ArgumentNullException("first");
|
|
}
|
|
if (second == null)
|
|
{
|
|
throw new ArgumentNullException("second");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000274 RID: 628 RVA: 0x0000CC74 File Offset: 0x0000AE74
|
|
public static void SourceAndKeySelector(object source, object keySelector)
|
|
{
|
|
if (source == null)
|
|
{
|
|
throw new ArgumentNullException("source");
|
|
}
|
|
if (keySelector == null)
|
|
{
|
|
throw new ArgumentNullException("keySelector");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000275 RID: 629 RVA: 0x0000CCA4 File Offset: 0x0000AEA4
|
|
public static void SourceAndKeyElementSelectors(object source, object keySelector, object elementSelector)
|
|
{
|
|
if (source == null)
|
|
{
|
|
throw new ArgumentNullException("source");
|
|
}
|
|
if (keySelector == null)
|
|
{
|
|
throw new ArgumentNullException("keySelector");
|
|
}
|
|
if (elementSelector == null)
|
|
{
|
|
throw new ArgumentNullException("elementSelector");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000276 RID: 630 RVA: 0x0000CCDC File Offset: 0x0000AEDC
|
|
public static void SourceAndKeyResultSelectors(object source, object keySelector, object resultSelector)
|
|
{
|
|
if (source == null)
|
|
{
|
|
throw new ArgumentNullException("source");
|
|
}
|
|
if (keySelector == null)
|
|
{
|
|
throw new ArgumentNullException("keySelector");
|
|
}
|
|
if (resultSelector == null)
|
|
{
|
|
throw new ArgumentNullException("resultSelector");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000277 RID: 631 RVA: 0x0000CD14 File Offset: 0x0000AF14
|
|
public static void SourceAndCollectionSelectorAndResultSelector(object source, object collectionSelector, object resultSelector)
|
|
{
|
|
if (source == null)
|
|
{
|
|
throw new ArgumentNullException("source");
|
|
}
|
|
if (collectionSelector == null)
|
|
{
|
|
throw new ArgumentNullException("collectionSelector");
|
|
}
|
|
if (resultSelector == null)
|
|
{
|
|
throw new ArgumentNullException("resultSelector");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000278 RID: 632 RVA: 0x0000CD4C File Offset: 0x0000AF4C
|
|
public static void SourceAndCollectionSelectors(object source, object collectionSelector, object selector)
|
|
{
|
|
if (source == null)
|
|
{
|
|
throw new ArgumentNullException("source");
|
|
}
|
|
if (collectionSelector == null)
|
|
{
|
|
throw new ArgumentNullException("collectionSelector");
|
|
}
|
|
if (selector == null)
|
|
{
|
|
throw new ArgumentNullException("selector");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000279 RID: 633 RVA: 0x0000CD84 File Offset: 0x0000AF84
|
|
public static void JoinSelectors(object outer, object inner, object outerKeySelector, object innerKeySelector, object resultSelector)
|
|
{
|
|
if (outer == null)
|
|
{
|
|
throw new ArgumentNullException("outer");
|
|
}
|
|
if (inner == null)
|
|
{
|
|
throw new ArgumentNullException("inner");
|
|
}
|
|
if (outerKeySelector == null)
|
|
{
|
|
throw new ArgumentNullException("outerKeySelector");
|
|
}
|
|
if (innerKeySelector == null)
|
|
{
|
|
throw new ArgumentNullException("innerKeySelector");
|
|
}
|
|
if (resultSelector == null)
|
|
{
|
|
throw new ArgumentNullException("resultSelector");
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600027A RID: 634 RVA: 0x0000CDE8 File Offset: 0x0000AFE8
|
|
public static void GroupBySelectors(object source, object keySelector, object elementSelector, object resultSelector)
|
|
{
|
|
if (source == null)
|
|
{
|
|
throw new ArgumentNullException("source");
|
|
}
|
|
if (keySelector == null)
|
|
{
|
|
throw new ArgumentNullException("keySelector");
|
|
}
|
|
if (elementSelector == null)
|
|
{
|
|
throw new ArgumentNullException("elementSelector");
|
|
}
|
|
if (resultSelector == null)
|
|
{
|
|
throw new ArgumentNullException("resultSelector");
|
|
}
|
|
}
|
|
}
|
|
}
|