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
ArrayBuilder.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
4
namespace
System.Collections.Generic
5
{
6
// Token: 0x0200063D RID: 1597
7
internal
struct
ArrayBuilder
<T>
8
{
9
// Token: 0x170007E2 RID: 2018
10
// (get) Token: 0x060030E5 RID: 12517 RVA: 0x0006AB5C File Offset: 0x00068D5C
11
public
int
Capacity
12
{
13
get
14
{
15
}
16
}
17
18
// Token: 0x170007E3 RID: 2019
19
// (get) Token: 0x060030E6 RID: 12518 RVA: 0x0006AB6C File Offset: 0x00068D6C
20
public
int
Count
21
{
22
get
23
{
24
return
this.
_count
;
25
}
26
}
27
28
// Token: 0x170007E4 RID: 2020
29
public
T
this
[
int
index
]
30
{
31
get
32
{
33
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
34
}
35
}
36
37
// Token: 0x060030E8 RID: 12520 RVA: 0x0006AB80 File Offset: 0x00068D80
38
public
void
Add
(T
item
)
39
{
40
int
count
= this.
_count
;
41
int
count2
= this.
_count
;
42
}
43
44
// Token: 0x060030E9 RID: 12521 RVA: 0x0006AB9C File Offset: 0x00068D9C
45
public
void
UncheckedAdd
(T
item
)
46
{
47
}
48
49
// Token: 0x060030EA RID: 12522 RVA: 0x0006ABAC File Offset: 0x00068DAC
50
private
void
EnsureCapacity
(
int
minimum
)
51
{
52
int
num =
Math
.
Max
(0,
minimum
);
53
}
54
55
// Token: 0x04001A7C RID: 6780
56
private
T[]
_array
;
57
58
// Token: 0x04001A7D RID: 6781
59
private
int
_count
;
60
}
61
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.Math.Max
static byte Max(byte val1, byte val2)
Definition
Math.cs:111
System.Math
Definition
Math.cs:11
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Collections.Generic
Definition
ArrayBuilder.cs:5
System.ExceptionArgument.item
@ item
System.ExceptionArgument.index
@ index
System.ExceptionArgument.count
@ count
System
Definition
__ComObject.cs:4
System.Collections.Generic.ArrayBuilder.Capacity
int Capacity
Definition
ArrayBuilder.cs:12
System.Collections.Generic.ArrayBuilder._count
int _count
Definition
ArrayBuilder.cs:59
System.Collections.Generic.ArrayBuilder.Count
int Count
Definition
ArrayBuilder.cs:21
System.Collections.Generic.ArrayBuilder.EnsureCapacity
void EnsureCapacity(int minimum)
Definition
ArrayBuilder.cs:50
System.Collections.Generic.ArrayBuilder._array
T[] _array
Definition
ArrayBuilder.cs:56
System.Collections.Generic.ArrayBuilder.Add
void Add(T item)
Definition
ArrayBuilder.cs:38
System.Collections.Generic.ArrayBuilder.UncheckedAdd
void UncheckedAdd(T item)
Definition
ArrayBuilder.cs:45
System.Collections.Generic.ArrayBuilder
Definition
ArrayBuilder.cs:8
source
mscorlib
System
Collections
Generic
ArrayBuilder.cs
Generated by
1.10.0