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
ComponentResourceManager.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Collections
;
3
using
System.Collections.Generic
;
4
using
System.Globalization
;
5
using
System.Reflection
;
6
using
System.Resources
;
7
using
System.Runtime.InteropServices
;
8
9
namespace
System.ComponentModel
10
{
11
// Token: 0x0200035B RID: 859
12
public
class
ComponentResourceManager
:
ResourceManager
13
{
14
// Token: 0x0600166D RID: 5741 RVA: 0x000417EC File Offset: 0x0003F9EC
15
public
ComponentResourceManager
()
16
{
17
if
(!
true
)
18
{
19
}
20
base
..ctor();
21
}
22
23
// Token: 0x0600166E RID: 5742 RVA: 0x00041804 File Offset: 0x0003FA04
24
public
ComponentResourceManager
(
Type
t)
25
{
26
if
(!
true
)
27
{
28
}
29
base
..ctor(t);
30
}
31
32
// Token: 0x1700051F RID: 1311
33
// (get) Token: 0x0600166F RID: 5743 RVA: 0x0004181C File Offset: 0x0003FA1C
34
private
CultureInfo
NeutralResourcesCulture
35
{
36
get
37
{
38
while
(this.
_neutralResourcesCulture
!=
null
)
39
{
40
}
41
Assembly
mainAssembly
= this.
MainAssembly
;
42
CultureInfo
neutralResourcesLanguage
=
ResourceManager
.
GetNeutralResourcesLanguage
(this.
MainAssembly
);
43
this._neutralResourcesCulture
=
neutralResourcesLanguage
;
44
return
neutralResourcesLanguage
;
45
}
46
}
47
48
// Token: 0x06001670 RID: 5744 RVA: 0x00041854 File Offset: 0x0003FA54
49
public
void
ApplyResources
(
object
value
,
string
objectName)
50
{
51
}
52
53
// Token: 0x06001671 RID: 5745 RVA: 0x00041864 File Offset: 0x0003FA64
54
public
virtual
void
ApplyResources
(
object
value
,
string
objectName,
CultureInfo
culture
)
55
{
56
if
(
value
==
null
)
57
{
58
return
;
59
}
60
if
(objectName ==
null
)
61
{
62
throw
new
OutOfMemoryException
();
63
}
64
if
(
culture
==
null
)
65
{
66
CultureInfo
currentUICulture
=
CultureInfo
.
CurrentUICulture
;
67
}
68
Hashtable
resourceSets
= this.
_resourceSets
;
69
if
(resourceSets !=
null
)
70
{
71
if
(
resourceSets
!=
null
)
72
{
73
int
version =
resourceSets
.
_version
;
74
if
(!
true
)
75
{
76
}
77
}
78
return
;
79
}
80
Hashtable
resourceSets2
= this.
_resourceSets
;
81
if
(value ==
null
)
82
{
83
return
;
84
}
85
if
(
value
==
null
)
86
{
87
throw
new
InvalidCastException
();
88
}
89
if
(
value
!=
null
)
90
{
91
return
;
92
}
93
throw
new
InvalidCastException
();
94
}
95
96
// Token: 0x06001672 RID: 5746 RVA: 0x00041974 File Offset: 0x0003FB74
97
private
global::System.Collections.Generic.SortedList<string,
object
>
FillResources
(
CultureInfo
culture
, [
Out
]
ResourceSet
resourceSet
)
98
{
99
if
(!
true
)
100
{
101
}
102
CultureInfo
invariantCulture
=
CultureInfo
.
InvariantCulture
;
103
CultureInfo
neutralResourcesCulture
= this.
NeutralResourcesCulture
;
104
if
(!
true
)
105
{
106
}
107
if
(!
true
)
108
{
109
}
110
global::System.Collections.Generic.SortedList<string,
object
> sortedList;
111
if
(
this
!=
null
)
112
{
113
return
sortedList;
114
}
115
return
sortedList;
116
}
117
118
// Token: 0x040011E1 RID: 4577
119
private
Hashtable
_resourceSets
;
120
121
// Token: 0x040011E2 RID: 4578
122
private
CultureInfo
_neutralResourcesCulture
;
123
}
124
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Collections.Hashtable._version
int _version
Definition
Hashtable.cs:651
System.Collections.Hashtable
Definition
Hashtable.cs:17
System.ComponentModel.ComponentResourceManager._neutralResourcesCulture
CultureInfo _neutralResourcesCulture
Definition
ComponentResourceManager.cs:122
System.ComponentModel.ComponentResourceManager._resourceSets
Hashtable _resourceSets
Definition
ComponentResourceManager.cs:119
System.ComponentModel.ComponentResourceManager.ComponentResourceManager
ComponentResourceManager(Type t)
Definition
ComponentResourceManager.cs:24
System.ComponentModel.ComponentResourceManager.NeutralResourcesCulture
CultureInfo NeutralResourcesCulture
Definition
ComponentResourceManager.cs:35
System.ComponentModel.ComponentResourceManager.FillResources
global::System.Collections.Generic.SortedList< string, object > FillResources(CultureInfo culture, [Out] ResourceSet resourceSet)
Definition
ComponentResourceManager.cs:97
System.ComponentModel.ComponentResourceManager.ApplyResources
void ApplyResources(object value, string objectName)
Definition
ComponentResourceManager.cs:49
System.ComponentModel.ComponentResourceManager.ApplyResources
virtual void ApplyResources(object value, string objectName, CultureInfo culture)
Definition
ComponentResourceManager.cs:54
System.ComponentModel.ComponentResourceManager.ComponentResourceManager
ComponentResourceManager()
Definition
ComponentResourceManager.cs:15
System.ComponentModel.ComponentResourceManager
Definition
ComponentResourceManager.cs:13
System.Globalization.CultureInfo.CurrentUICulture
static CultureInfo CurrentUICulture
Definition
CultureInfo.cs:62
System.Globalization.CultureInfo.InvariantCulture
static CultureInfo InvariantCulture
Definition
CultureInfo.cs:39
System.Globalization.CultureInfo
Definition
CultureInfo.cs:15
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.OutOfMemoryException
Definition
OutOfMemoryException.cs:9
System.Reflection.Assembly
Definition
Assembly.cs:19
System.Resources.ResourceManager.GetNeutralResourcesLanguage
static CultureInfo GetNeutralResourcesLanguage(Assembly a)
Definition
ResourceManager.cs:324
System.Resources.ResourceManager.MainAssembly
Assembly MainAssembly
Definition
ResourceManager.cs:389
System.Resources.ResourceManager
Definition
ResourceManager.cs:17
System.Resources.ResourceSet
Definition
ResourceSet.cs:11
System.Type
Definition
Type.cs:12
System.Collections.Generic
Definition
ArrayBuilder.cs:5
System.Collections
Definition
ArrayList.cs:6
System.ComponentModel
Definition
AddingNewEventArgs.cs:6
System.Globalization
Definition
Bootstring.cs:5
System.Reflection.ParameterAttributes.Out
@ Out
System.Reflection
Definition
AmbiguousMatchException.cs:5
System.Resources
Definition
FastResourceComparer.cs:6
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.ExceptionArgument.value
@ value
System.ExceptionArgument.culture
@ culture
System
Definition
__ComObject.cs:4
source
System
ComponentModel
ComponentResourceManager.cs
Generated by
1.10.0