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: 0x02000646 RID: 1606 [Token(Token = "0x2000646")] 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: 0x060031A7 RID: 12711 RVA: 0x0001B198 File Offset: 0x00019398 [Token(Token = "0x60031A7")] [Address(RVA = "0x21ACAB0", Offset = "0x21ABAB0", VA = "0x1821ACAB0")] [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] public static bool ForAll(IEnumerable collection, Predicate predicate) { return default(bool); } } }