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.
1
using
System
;
2
using
System.Collections.Generic
;
3
4
namespace
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
}
20
this.description
=
description
;
21
Switch
.
_pruneCachedSwitches
();
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
55
private
static
List<WeakReference>
switches
;
56
57
// Token: 0x04000392 RID: 914
58
private
static
int
s_LastCollectionCount
;
59
}
60
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Collections.Generic.List
Definition
List.cs:13
System.Diagnostics.Switch.Switch
Switch(string displayName, string description, string defaultSwitchValue)
Definition
Switch.cs:15
System.Diagnostics.Switch.s_LastCollectionCount
static int s_LastCollectionCount
Definition
Switch.cs:58
System.Diagnostics.Switch.description
readonly string description
Definition
Switch.cs:43
System.Diagnostics.Switch.switchValueString
string switchValueString
Definition
Switch.cs:49
System.Diagnostics.Switch.displayName
readonly string displayName
Definition
Switch.cs:46
System.Diagnostics.Switch.switches
static List< WeakReference > switches
Definition
Switch.cs:55
System.Diagnostics.Switch.defaultValue
string defaultValue
Definition
Switch.cs:52
System.Diagnostics.Switch.Switch
static Switch()
Definition
Switch.cs:38
System.Diagnostics.Switch._pruneCachedSwitches
static void _pruneCachedSwitches()
Definition
Switch.cs:25
System.Diagnostics.Switch.Switch
Switch(string displayName, string description)
Definition
Switch.cs:10
System.Diagnostics.Switch
Definition
Switch.cs:8
System.GC.CollectionCount
static int CollectionCount(int generation)
Definition
GC.cs:79
System.GC
Definition
GC.cs:11
System.Collections.Generic
Definition
ArrayBuilder.cs:5
System.Diagnostics
Definition
ConditionalAttribute.cs:5
System
Definition
__ComObject.cs:4
source
System
Diagnostics
Switch.cs
Generated by
1.10.0