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
CollectionPool.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Collections.Generic
;
3
using
System.Runtime.CompilerServices
;
4
using
Cpp2IlInjected
;
5
6
namespace
UnityEngine.Pool
7
{
8
// Token: 0x02000156 RID: 342
9
public
class
CollectionPool
<
TCollection
,
TItem
>
where
TCollection
:
class
,
ICollection
<TItem>,
new
()
10
{
11
// Token: 0x06000668 RID: 1640 RVA: 0x000021B3 File Offset: 0x000003B3
12
public
static
TCollection
Get
()
13
{
14
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
15
}
16
17
// Token: 0x06000669 RID: 1641 RVA: 0x0000B64C File Offset: 0x0000984C
18
public
static
void
Release
(
TCollection
toRelease
)
19
{
20
if
(
toRelease
==
null
)
21
{
22
}
23
}
24
25
// Token: 0x0600066A RID: 1642 RVA: 0x0000B660 File Offset: 0x00009860
26
// Note: this type is marked as 'beforefieldinit'.
27
static
CollectionPool
()
28
{
29
}
30
31
// Token: 0x04000636 RID: 1590
32
internal
static
readonly
ObjectPool<TCollection>
s_Pool
;
33
34
// Token: 0x02000157 RID: 343
35
[
CompilerGenerated
]
36
[Serializable]
37
private
sealed
class <>
c
38
{
39
// Token: 0x0600066B RID: 1643 RVA: 0x0000B674 File Offset: 0x00009874
40
// Note: this type is marked as 'beforefieldinit'.
41
static <>
c()
42
{
43
}
44
45
// Token: 0x0600066C RID: 1644 RVA: 0x0000B684 File Offset: 0x00009884
46
public <>
c()
47
{
48
}
49
50
// Token: 0x0600066D RID: 1645 RVA: 0x000021B3 File Offset: 0x000003B3
51
internal
TCollection
<.cctor>
b__5_0
()
52
{
53
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
54
}
55
56
// Token: 0x0600066E RID: 1646 RVA: 0x0000B698 File Offset: 0x00009898
57
internal
void
<.cctor>
b__5_1
(
TCollection
l)
58
{
59
}
60
61
// Token: 0x04000637 RID: 1591
62
public
static
readonly
CollectionPool<TCollection, TItem>
.<>
c <>
9;
63
}
64
}
65
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
UnityEngine.Pool.CollectionPool.Release
static void Release(TCollection toRelease)
Definition
CollectionPool.cs:18
UnityEngine.Pool.CollectionPool.Get
static TCollection Get()
Definition
CollectionPool.cs:12
UnityEngine.Pool.CollectionPool.s_Pool
static readonly ObjectPool< TCollection > s_Pool
Definition
CollectionPool.cs:32
UnityEngine.Pool.CollectionPool.CollectionPool
static CollectionPool()
Definition
CollectionPool.cs:27
UnityEngine.Pool.CollectionPool
Definition
CollectionPool.cs:10
UnityEngine.Pool.ObjectPool
Definition
ObjectPool.cs:12
System.Collections.Generic.ICollection
Definition
ICollection.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Collections.Generic
Definition
ArrayBuilder.cs:5
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System
Definition
__ComObject.cs:4
UnityEngine.Pool
Definition
CollectionPool.cs:7
source
UnityEngine.CoreModule
UnityEngine
Pool
CollectionPool.cs
Generated by
1.10.0