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
ArraySpec.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Text
;
3
using
Cpp2IlInjected
;
4
5
namespace
System
6
{
7
// Token: 0x0200019C RID: 412
8
internal
class
ArraySpec
:
ModifierSpec
9
{
10
// Token: 0x06000FCE RID: 4046 RVA: 0x00021B30 File Offset: 0x0001FD30
11
internal
ArraySpec
(
int
dimensions
,
bool
bound
)
12
{
13
this.dimensions
=
dimensions
;
14
}
15
16
// Token: 0x06000FCF RID: 4047 RVA: 0x00021B4C File Offset: 0x0001FD4C
17
public
Type
Resolve
(
Type
type)
18
{
19
if
(this.
bound
)
20
{
21
return
type;
22
}
23
return
type;
24
}
25
26
// Token: 0x06000FD0 RID: 4048 RVA: 0x00021B68 File Offset: 0x0001FD68
27
public
StringBuilder
Append
(
StringBuilder
sb)
28
{
29
if
(this.
bound
)
30
{
31
return
sb.
Append
(
"[*]"
);
32
}
33
int
num = 91;
34
long
num2
= 0
L
;
35
StringBuilder
stringBuilder = sb.
Append
((
char
)num);
36
int
num3
= this.
dimensions
;
37
int
num4
= 44;
38
StringBuilder
stringBuilder2
= stringBuilder.
Append
((
char
)
num4
, (
int
)
num2
);
39
int
num5
= 93;
40
return
stringBuilder2
.
Append
((
char
)
num5
);
41
}
42
43
// Token: 0x06000FD1 RID: 4049 RVA: 0x0000207A File Offset: 0x0000027A
44
public
override
string
ToString
()
45
{
46
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
47
}
48
49
// Token: 0x04000882 RID: 2178
50
private
int
dimensions
;
51
52
// Token: 0x04000883 RID: 2179
53
private
bool
bound
;
54
}
55
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.ArraySpec.ArraySpec
ArraySpec(int dimensions, bool bound)
Definition
ArraySpec.cs:11
System.ArraySpec.Resolve
Type Resolve(Type type)
Definition
ArraySpec.cs:17
System.ArraySpec.ToString
override string ToString()
Definition
ArraySpec.cs:44
System.ArraySpec.dimensions
int dimensions
Definition
ArraySpec.cs:50
System.ArraySpec.bound
bool bound
Definition
ArraySpec.cs:53
System.ArraySpec.Append
StringBuilder Append(StringBuilder sb)
Definition
ArraySpec.cs:27
System.ArraySpec
Definition
ArraySpec.cs:9
System.Text.StringBuilder.Append
StringBuilder Append(char value, int repeatCount)
Definition
StringBuilder.cs:311
System.Text.StringBuilder
Definition
StringBuilder.cs:14
System.Type
Definition
Type.cs:12
System.ModifierSpec
Definition
ModifierSpec.cs:8
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Text
Definition
ASCIIEncoding.cs:7
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
source
mscorlib
System
ArraySpec.cs
Generated by
1.10.0