terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Contract.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Collections.Generic
;
3
using
System.Runtime.ConstrainedExecution
;
4
5
namespace
System.Diagnostics.Contracts
6
{
7
// Token: 0x020005D6 RID: 1494
8
public
static
class
Contract
9
{
10
// Token: 0x06002D7A RID: 11642 RVA: 0x00064A80 File Offset: 0x00062C80
11
[
ReliabilityContract
(
Consistency
.WillNotCorruptState,
Cer
.MayFail)]
12
public
static
bool
ForAll<T>
(
IEnumerable<T>
collection
,
Predicate<T>
predicate)
13
{
14
if
(
collection
!=
null
&& !
false
)
15
{
16
return
"collection"
!=
null
;
17
}
18
throw
new
OutOfMemoryException
();
19
}
20
}
21
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Diagnostics.Contracts.Contract.ForAll< T >
static bool ForAll< T >(IEnumerable< T > collection, Predicate< T > predicate)
Definition
Contract.cs:12
System.Diagnostics.Contracts.Contract
Definition
Contract.cs:9
System.OutOfMemoryException
Definition
OutOfMemoryException.cs:9
System.Predicate
Definition
Predicate.cs:8
System.Collections.Generic.IEnumerable
Definition
IEnumerable.cs:7
System.Collections.Generic
Definition
ArrayBuilder.cs:5
System.Diagnostics.Contracts
Definition
Contract.cs:6
System.Runtime.ConstrainedExecution.Consistency
Consistency
Definition
Consistency.cs:7
System.Runtime.ConstrainedExecution.Cer
Cer
Definition
Cer.cs:7
System.Runtime.ConstrainedExecution
Definition
Cer.cs:4
System.ExceptionArgument.collection
@ collection
System
Definition
__ComObject.cs:4
source
mscorlib
System
Diagnostics
Contracts
Contract.cs
Generated by
1.10.0