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
DependencyInjector.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Reflection
;
3
4
namespace
Mono
5
{
6
// Token: 0x0200000F RID: 15
7
internal
static
class
DependencyInjector
8
{
9
// Token: 0x17000003 RID: 3
10
// (get) Token: 0x06000038 RID: 56 RVA: 0x00002300 File Offset: 0x00000500
11
internal
static
ISystemDependencyProvider
SystemProvider
12
{
13
get
14
{
15
if
(
true
)
16
{
17
}
18
for
(;;)
19
{
20
}
21
ISystemDependencyProvider
systemDependencyProvider
=
DependencyInjector
.
ReflectionLoad
();
22
if
(
systemDependencyProvider
==
null
)
23
{
24
throw
new
OutOfMemoryException
();
25
}
26
if
(!
false
)
27
{
28
return
systemDependencyProvider
;
29
}
30
throw
new
OutOfMemoryException
();
31
}
32
}
33
34
// Token: 0x06000039 RID: 57 RVA: 0x00002338 File Offset: 0x00000538
35
internal
static
void
Register
(
ISystemDependencyProvider
provider)
36
{
37
if
(!
true
)
38
{
39
}
40
if
(!
false
)
41
{
42
return
;
43
}
44
throw
new
OutOfMemoryException
();
45
}
46
47
// Token: 0x0600003A RID: 58 RVA: 0x00002368 File Offset: 0x00000568
48
private
static
ISystemDependencyProvider
ReflectionLoad
()
49
{
50
if
(!
true
)
51
{
52
}
53
long
num = 0
L
;
54
PropertyInfo
propertyInfo
;
55
object
value
=
propertyInfo
.
GetValue
(num);
56
if
(
value
==
null
||
value
!=
null
)
57
{
58
}
59
throw
new
InvalidCastException
();
60
}
61
62
// Token: 0x0600003B RID: 59 RVA: 0x00002390 File Offset: 0x00000590
63
// Note: this type is marked as 'beforefieldinit'.
64
static
DependencyInjector
()
65
{
66
}
67
68
// Token: 0x04000088 RID: 136
69
private
static
object
locker
;
70
71
// Token: 0x04000089 RID: 137
72
private
static
ISystemDependencyProvider
systemDependency
;
73
}
74
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Mono.DependencyInjector.Register
static void Register(ISystemDependencyProvider provider)
Definition
DependencyInjector.cs:35
Mono.DependencyInjector.ReflectionLoad
static ISystemDependencyProvider ReflectionLoad()
Definition
DependencyInjector.cs:48
Mono.DependencyInjector.DependencyInjector
static DependencyInjector()
Definition
DependencyInjector.cs:64
Mono.DependencyInjector.SystemProvider
static ISystemDependencyProvider SystemProvider
Definition
DependencyInjector.cs:12
Mono.DependencyInjector.systemDependency
static ISystemDependencyProvider systemDependency
Definition
DependencyInjector.cs:72
Mono.DependencyInjector.locker
static object locker
Definition
DependencyInjector.cs:69
Mono.DependencyInjector
Definition
DependencyInjector.cs:8
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.OutOfMemoryException
Definition
OutOfMemoryException.cs:9
System.Reflection.PropertyInfo.GetValue
object GetValue(object obj)
Definition
PropertyInfo.cs:63
System.Reflection.PropertyInfo
Definition
PropertyInfo.cs:11
Mono.ISystemDependencyProvider
Definition
ISystemDependencyProvider.cs:7
Mono
Definition
BigInteger.cs:6
System.Reflection
Definition
AmbiguousMatchException.cs:5
System.ExceptionArgument.value
@ value
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
source
mscorlib
Mono
DependencyInjector.cs
Generated by
1.10.0