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
WebRequestPrefixElement.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Globalization
;
3
using
System.Threading
;
4
5
namespace
System.Net
6
{
7
// Token: 0x020001B2 RID: 434
8
internal
class
WebRequestPrefixElement
9
{
10
// Token: 0x17000229 RID: 553
11
// (get) Token: 0x06000A9F RID: 2719 RVA: 0x00023664 File Offset: 0x00021864
12
// (set) Token: 0x06000AA0 RID: 2720 RVA: 0x000236F8 File Offset: 0x000218F8
13
public
IWebRequestCreate
Creator
14
{
15
get
16
{
17
IWebRequestCreate
webRequestCreate;
18
if
(this.
creator
==
null
)
19
{
20
Type
type = this.
creatorType
;
21
long
num = 0
L
;
22
Monitor
.
Enter
(
this
, num != 0
L
);
23
if
(this.
creator
==
null
)
24
{
25
Type
type2
= this.
creatorType
;
26
CultureInfo
invariantCulture
=
CultureInfo
.
InvariantCulture
;
27
object
obj
;
28
if
(
obj
==
null
)
29
{
30
return
webRequestCreate;
31
}
32
if
(
obj
==
null
)
33
{
34
throw
new
InvalidCastException
();
35
}
36
this.creator
=
obj
;
37
if
(
obj
==
null
)
38
{
39
throw
new
InvalidCastException
();
40
}
41
}
42
long
num2
= 0
L
;
43
Monitor
.
Exit
(
this
);
44
if
(
num2
!= 0
L
)
45
{
46
throw
new
OutOfMemoryException
();
47
}
48
}
49
webRequestCreate = this.
creator
;
50
return
webRequestCreate;
51
}
52
set
53
{
54
this.creator
=
value
;
55
}
56
}
57
58
// Token: 0x06000AA1 RID: 2721 RVA: 0x0002370C File Offset: 0x0002190C
59
public
WebRequestPrefixElement
(
string
P
,
Type
creatorType
)
60
{
61
if
(!
true
)
62
{
63
}
64
this.Prefix
=
P
;
65
this.creatorType
=
creatorType
;
66
}
67
68
// Token: 0x06000AA2 RID: 2722 RVA: 0x0002373C File Offset: 0x0002193C
69
public
WebRequestPrefixElement
(
string
P
,
IWebRequestCreate
C
)
70
{
71
this.Prefix
=
P
;
72
this.creator
=
C
;
73
}
74
75
// Token: 0x0400090B RID: 2315
76
public
string
Prefix
;
77
78
// Token: 0x0400090C RID: 2316
79
internal
IWebRequestCreate
creator
;
80
81
// Token: 0x0400090D RID: 2317
82
internal
Type
creatorType
;
83
}
84
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
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.Net.WebRequestPrefixElement.Prefix
string Prefix
Definition
WebRequestPrefixElement.cs:76
System.Net.WebRequestPrefixElement.WebRequestPrefixElement
WebRequestPrefixElement(string P, Type creatorType)
Definition
WebRequestPrefixElement.cs:59
System.Net.WebRequestPrefixElement.creator
IWebRequestCreate creator
Definition
WebRequestPrefixElement.cs:79
System.Net.WebRequestPrefixElement.Creator
IWebRequestCreate Creator
Definition
WebRequestPrefixElement.cs:14
System.Net.WebRequestPrefixElement.WebRequestPrefixElement
WebRequestPrefixElement(string P, IWebRequestCreate C)
Definition
WebRequestPrefixElement.cs:69
System.Net.WebRequestPrefixElement.creatorType
Type creatorType
Definition
WebRequestPrefixElement.cs:82
System.Net.WebRequestPrefixElement
Definition
WebRequestPrefixElement.cs:9
System.OutOfMemoryException
Definition
OutOfMemoryException.cs:9
System.Threading.Monitor.Exit
static void Exit(object obj)
Definition
Monitor.cs:47
System.Threading.Monitor.Enter
static void Enter(object obj)
Definition
Monitor.cs:11
System.Threading.Monitor
Definition
Monitor.cs:9
System.Type
Definition
Type.cs:12
System.Net.IWebRequestCreate
Definition
IWebRequestCreate.cs:7
System.Globalization
Definition
Bootstring.cs:5
System.Net
Definition
AuthenticationManager.cs:7
System.Threading
Definition
_ThreadPoolWaitCallback.cs:4
System.ExceptionArgument.value
@ value
System.ExceptionArgument.obj
@ obj
System.ConsoleKey.C
@ C
System.ConsoleKey.P
@ P
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
source
System
Net
WebRequestPrefixElement.cs
Generated by
1.10.0