using System; using System.Collections.Generic; using System.Runtime.ConstrainedExecution; using Cpp2IlInjected; namespace System.Diagnostics.Contracts { /// Contains static methods for representing program contracts such as preconditions, postconditions, and object invariants. // Token: 0x02000625 RID: 1573 [Token(Token = "0x2000625")] public static class Contract { /// Determines whether all the elements in a collection exist within a function. /// The collection from which elements of type T will be drawn to pass to . /// The function to evaluate for the existence of all the elements in . /// The type that is contained in . /// /// if and only if returns for all elements of type in . /// /// or is . // Token: 0x06002F8F RID: 12175 RVA: 0x00018D68 File Offset: 0x00016F68 [Token(Token = "0x6002F8F")] [Address(RVA = "0x1902AF0", Offset = "0x19018F0", VA = "0x181902AF0")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] public static bool ForAll(IEnumerable collection, Predicate predicate) { return default(bool); } } }