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
Comparer.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
using
Cpp2IlInjected
;
4
5
namespace
System.Collections.Generic
6
{
7
// Token: 0x02000651 RID: 1617
8
[
TypeDependency
(
"System.Collections.Generic.ObjectComparer`1"
)]
9
[
Serializable
]
10
public
abstract
class
Comparer
<T> :
IComparer
,
IComparer
<T>
11
{
12
// Token: 0x170007F8 RID: 2040
13
// (get) Token: 0x0600316C RID: 12652 RVA: 0x0000207A File Offset: 0x0000027A
14
public
static
Comparer<T>
Default
15
{
16
get
17
{
18
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
19
}
20
}
21
22
// Token: 0x0600316D RID: 12653 RVA: 0x0006B4A8 File Offset: 0x000696A8
23
private
static
Comparer<T>
CreateComparer
()
24
{
25
Type
type;
26
if
(type !=
null
)
27
{
28
}
29
throw
new
InvalidCastException
();
30
}
31
32
// Token: 0x0600316E RID: 12654
33
public
abstract
int
Compare
(T x, T y);
34
35
// Token: 0x0600316F RID: 12655 RVA: 0x0006B4CC File Offset: 0x000696CC
36
int
IComparer
.
Compare
(
object
x,
object
y)
37
{
38
if
(x !=
null
)
39
{
40
if
(y ==
null
)
41
{
42
return
1;
43
}
44
if
(x ==
null
|| y !=
null
)
45
{
46
}
47
}
48
ThrowHelper
.
ThrowArgumentException
(
ExceptionResource
.Argument_InvalidArgumentForComparison);
49
return
1;
50
}
51
52
// Token: 0x06003170 RID: 12656 RVA: 0x0006B4F4 File Offset: 0x000696F4
53
protected
Comparer
()
54
{
55
}
56
57
// Token: 0x04001AA7 RID: 6823
58
private
static
Comparer<T>
defaultComparer
;
59
}
60
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.Collections.Generic.Comparer.CreateComparer
static Comparer< T > CreateComparer()
Definition
Comparer.cs:23
System.Collections.Generic.Comparer.Comparer
Comparer()
Definition
Comparer.cs:53
System.Collections.Generic.Comparer.Compare
int Compare(T x, T y)
System.Collections.Generic.Comparer.defaultComparer
static Comparer< T > defaultComparer
Definition
Comparer.cs:58
System.Collections.Generic.Comparer.Default
static Comparer< T > Default
Definition
Comparer.cs:15
System.Collections.Generic.Comparer
Definition
Comparer.cs:11
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.ThrowHelper.ThrowArgumentException
static void ThrowArgumentException(ExceptionResource resource)
Definition
ThrowHelper.cs:235
System.ThrowHelper
Definition
ThrowHelper.cs:11
System.Type
Definition
Type.cs:12
System.Collections.Generic.IComparer.Compare
int Compare(T x, T y)
System.Collections.Generic.IComparer
Definition
IComparer.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Collections.Generic
Definition
ArrayBuilder.cs:5
System.Reflection.TypeAttributes.Serializable
@ Serializable
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.ExceptionResource
ExceptionResource
Definition
ExceptionResource.cs:7
System
Definition
__ComObject.cs:4
source
mscorlib
System
Collections
Generic
Comparer.cs
Generated by
1.10.0