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
Switch.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Diagnostics
5{
6 // Token: 0x020000C9 RID: 201
7 public abstract class Switch
8 {
9 // Token: 0x06000497 RID: 1175 RVA: 0x000134EC File Offset: 0x000116EC
10 protected Switch(string displayName, string description)
11 {
12 }
13
14 // Token: 0x06000498 RID: 1176 RVA: 0x000134FC File Offset: 0x000116FC
15 protected Switch(string displayName, string description, string defaultSwitchValue)
16 {
17 if (displayName == null)
18 {
19 }
22 }
23
24 // Token: 0x06000499 RID: 1177 RVA: 0x00013548 File Offset: 0x00011748
25 private static void _pruneCachedSwitches()
26 {
27 if ("Shadow Key" == null)
28 {
29 }
30 if ("Shadow Key" == null)
31 {
32 }
33 int num = GC.CollectionCount(2);
34 }
35
36 // Token: 0x0600049A RID: 1178 RVA: 0x000135D8 File Offset: 0x000117D8
37 // Note: this type is marked as 'beforefieldinit'.
38 static Switch()
39 {
40 }
41
42 // Token: 0x0400038D RID: 909
43 private readonly string description;
44
45 // Token: 0x0400038E RID: 910
46 private readonly string displayName;
47
48 // Token: 0x0400038F RID: 911
49 private string switchValueString;
50
51 // Token: 0x04000390 RID: 912
52 private string defaultValue;
53
54 // Token: 0x04000391 RID: 913
56
57 // Token: 0x04000392 RID: 914
58 private static int s_LastCollectionCount;
59 }
60}
class f__AnonymousType0<< Count > j__TPar
Switch(string displayName, string description, string defaultSwitchValue)
Definition Switch.cs:15
static int s_LastCollectionCount
Definition Switch.cs:58
readonly string description
Definition Switch.cs:43
readonly string displayName
Definition Switch.cs:46
static List< WeakReference > switches
Definition Switch.cs:55
static void _pruneCachedSwitches()
Definition Switch.cs:25
Switch(string displayName, string description)
Definition Switch.cs:10
static int CollectionCount(int generation)
Definition GC.cs:79