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
LargeArrayBuilder.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
using
Cpp2IlInjected
;
4
5
namespace
System.Collections.Generic
6
{
7
// Token: 0x0200063F RID: 1599
8
internal
struct
LargeArrayBuilder
<T>
9
{
10
// Token: 0x060030EC RID: 12524 RVA: 0x0006ABD4 File Offset: 0x00068DD4
11
public
LargeArrayBuilder
(
bool
initialize)
12
{
13
}
14
15
// Token: 0x060030ED RID: 12525 RVA: 0x0000207A File Offset: 0x0000027A
16
public
LargeArrayBuilder
(
int
maxCapacity
)
17
{
18
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
19
}
20
21
// Token: 0x060030EE RID: 12526 RVA: 0x0006ABE4 File Offset: 0x00068DE4
22
public
void
AddRange
(
IEnumerable<T>
items)
23
{
24
}
25
26
// Token: 0x060030EF RID: 12527 RVA: 0x0006AC20 File Offset: 0x00068E20
27
private
void
AddWithBufferAllocation
(T
item
, T[]
destination
,
int
index
)
28
{
29
this.
AllocateBuffer
();
30
int
index2
= this.
_index
;
31
index.m_value
=
index2
;
32
int
index3
= this.
_index
;
33
}
34
35
// Token: 0x060030F0 RID: 12528 RVA: 0x0000207A File Offset: 0x0000027A
36
public
void
CopyTo
(T[]
array
,
int
arrayIndex
,
int
count
)
37
{
38
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
39
}
40
41
// Token: 0x060030F1 RID: 12529 RVA: 0x0000207A File Offset: 0x0000027A
42
public
T[]
GetBuffer
(
int
index
)
43
{
44
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
45
}
46
47
// Token: 0x060030F2 RID: 12530 RVA: 0x0000207A File Offset: 0x0000027A
48
public
T[]
ToArray
()
49
{
50
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
51
}
52
53
// Token: 0x060030F3 RID: 12531 RVA: 0x0000207A File Offset: 0x0000027A
54
public
bool
TryMove
([Out] T[]
array
)
55
{
56
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
57
}
58
59
// Token: 0x060030F4 RID: 12532 RVA: 0x0006AC48 File Offset: 0x00068E48
60
private
void
AllocateBuffer
()
61
{
62
int
num = 4;
63
this._index
= num;
64
int
index
= this.
_index
;
65
}
66
67
// Token: 0x04001A7E RID: 6782
68
private
readonly
int
_maxCapacity
;
69
70
// Token: 0x04001A7F RID: 6783
71
private
T[]
_first
;
72
73
// Token: 0x04001A80 RID: 6784
74
private
ArrayBuilder<T[]>
_buffers
;
75
76
// Token: 0x04001A81 RID: 6785
77
private
T[]
_current
;
78
79
// Token: 0x04001A82 RID: 6786
80
private
int
_index
;
81
82
// Token: 0x04001A83 RID: 6787
83
private
int
_count
;
84
}
85
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.Collections.Generic.IEnumerable
Definition
IEnumerable.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Collections.Generic
Definition
ArrayBuilder.cs:5
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.ExceptionArgument.item
@ item
System.ExceptionArgument.arrayIndex
@ arrayIndex
System.ExceptionArgument.destination
@ destination
System.ExceptionArgument.index
@ index
System.ExceptionArgument.count
@ count
System.ExceptionArgument.array
@ array
System
Definition
__ComObject.cs:4
System.Collections.Generic.ArrayBuilder
Definition
ArrayBuilder.cs:8
System.Collections.Generic.LargeArrayBuilder.LargeArrayBuilder
LargeArrayBuilder(bool initialize)
Definition
LargeArrayBuilder.cs:11
System.Collections.Generic.LargeArrayBuilder.AddWithBufferAllocation
void AddWithBufferAllocation(T item, T[] destination, int index)
Definition
LargeArrayBuilder.cs:27
System.Collections.Generic.LargeArrayBuilder._maxCapacity
readonly int _maxCapacity
Definition
LargeArrayBuilder.cs:68
System.Collections.Generic.LargeArrayBuilder._current
T[] _current
Definition
LargeArrayBuilder.cs:77
System.Collections.Generic.LargeArrayBuilder._count
int _count
Definition
LargeArrayBuilder.cs:83
System.Collections.Generic.LargeArrayBuilder.CopyTo
void CopyTo(T[] array, int arrayIndex, int count)
Definition
LargeArrayBuilder.cs:36
System.Collections.Generic.LargeArrayBuilder.LargeArrayBuilder
LargeArrayBuilder(int maxCapacity)
Definition
LargeArrayBuilder.cs:16
System.Collections.Generic.LargeArrayBuilder.AddRange
void AddRange(IEnumerable< T > items)
Definition
LargeArrayBuilder.cs:22
System.Collections.Generic.LargeArrayBuilder.GetBuffer
T[] GetBuffer(int index)
Definition
LargeArrayBuilder.cs:42
System.Collections.Generic.LargeArrayBuilder._first
T[] _first
Definition
LargeArrayBuilder.cs:71
System.Collections.Generic.LargeArrayBuilder.TryMove
bool TryMove([Out] T[] array)
Definition
LargeArrayBuilder.cs:54
System.Collections.Generic.LargeArrayBuilder._buffers
ArrayBuilder< T[]> _buffers
Definition
LargeArrayBuilder.cs:74
System.Collections.Generic.LargeArrayBuilder.AllocateBuffer
void AllocateBuffer()
Definition
LargeArrayBuilder.cs:60
System.Collections.Generic.LargeArrayBuilder._index
int _index
Definition
LargeArrayBuilder.cs:80
System.Collections.Generic.LargeArrayBuilder.ToArray
T[] ToArray()
Definition
LargeArrayBuilder.cs:48
System.Collections.Generic.LargeArrayBuilder
Definition
LargeArrayBuilder.cs:9
source
mscorlib
System
Collections
Generic
LargeArrayBuilder.cs
Generated by
1.10.0