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.
1using System;
2using System.Text;
4
5namespace 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 {
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
28 {
29 if (this.bound)
30 {
31 return sb.Append("[*]");
32 }
33 int num = 91;
34 long num2 = 0L;
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}
class f__AnonymousType0<< Count > j__TPar
ArraySpec(int dimensions, bool bound)
Definition ArraySpec.cs:11
Type Resolve(Type type)
Definition ArraySpec.cs:17
override string ToString()
Definition ArraySpec.cs:44
StringBuilder Append(StringBuilder sb)
Definition ArraySpec.cs:27
StringBuilder Append(char value, int repeatCount)