terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Switch.cs
Go to the documentation of this file.
1using System;
6
7namespace System.Diagnostics
8{
9 [global::Cpp2ILInjected.Token(Token = "0x20000C9")]
10 public abstract class Switch
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6000497")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1EC497C", Offset = "0x1EC497C", Length = "0x60")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TraceSwitch), Member = ".ctor", MemberParameters = new object[]
15 {
16 typeof(string),
17 typeof(string)
18 }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Switch), Member = ".ctor", MemberParameters = new object[]
21 {
22 typeof(string),
23 typeof(string),
24 typeof(string)
25 }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
27 protected Switch(string displayName, string description)
28 {
29 throw null;
30 }
31
32 [global::Cpp2ILInjected.Token(Token = "0x6000498")]
33 [global::Cpp2ILInjected.Address(RVA = "0x1EC4AA0", Offset = "0x1EC4AA0", Length = "0x230")]
34 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Switch), Member = ".ctor", MemberParameters = new object[]
36 {
37 typeof(string),
38 typeof(string)
39 }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
43 {
44 typeof(object),
45 typeof(ref bool)
46 }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Switch), Member = "_pruneCachedSwitches", ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WeakReference), Member = ".ctor", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
51 protected Switch(string displayName, string description, string defaultSwitchValue)
52 {
53 throw null;
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x6000499")]
57 [global::Cpp2ILInjected.Address(RVA = "0x1EC4CD0", Offset = "0x1EC4CD0", Length = "0x468")]
58 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Switch), Member = ".ctor", MemberParameters = new object[]
60 {
61 typeof(string),
62 typeof(string),
63 typeof(string)
64 }, ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
67 {
68 typeof(object),
69 typeof(ref bool)
70 }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GC), Member = "CollectionCount", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clear", MemberParameters = new object[]
75 {
77 typeof(int),
78 typeof(int)
79 }, ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "AddRange", MemberParameters = new object[] { typeof(IEnumerable<object>) }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "TrimExcess", ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 29)]
84 private static void _pruneCachedSwitches()
85 {
86 throw null;
87 }
88
89 // Note: this type is marked as 'beforefieldinit'.
90 [global::Cpp2ILInjected.Token(Token = "0x600049A")]
91 [global::Cpp2ILInjected.Address(RVA = "0x1EC5138", Offset = "0x1EC5138", Length = "0x8C")]
92 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
95 static Switch()
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x400038D")]
101 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
102 private readonly string description;
103
104 [global::Cpp2ILInjected.Token(Token = "0x400038E")]
105 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
106 private readonly string displayName;
107
108 [global::Cpp2ILInjected.Token(Token = "0x400038F")]
109 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
110 private string switchValueString;
111
112 [global::Cpp2ILInjected.Token(Token = "0x4000390")]
113 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
114 private string defaultValue;
115
116 [global::Cpp2ILInjected.Token(Token = "0x4000391")]
118
119 [global::Cpp2ILInjected.Token(Token = "0x4000392")]
120 private static int s_LastCollectionCount;
121 }
122}
class f__AnonymousType0<< Count > j__TPar
Switch(string displayName, string description, string defaultSwitchValue)
Definition Switch.cs:51
static int s_LastCollectionCount
Definition Switch.cs:120
readonly string description
Definition Switch.cs:102
readonly string displayName
Definition Switch.cs:106
static List< WeakReference > switches
Definition Switch.cs:117
static void _pruneCachedSwitches()
Definition Switch.cs:84
Switch(string displayName, string description)
Definition Switch.cs:27