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
TimeZone.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Globalization
;
3
using
System.Threading
;
4
using
Cpp2IlInjected
;
5
6
namespace
System
7
{
8
// Token: 0x02000108 RID: 264
9
[
Obsolete
(
"System.TimeZone has been deprecated. Please investigate the use of System.TimeZoneInfo instead."
)]
10
[
Serializable
]
11
public
abstract
class
TimeZone
12
{
13
// Token: 0x170000B3 RID: 179
14
// (get) Token: 0x060009D7 RID: 2519 RVA: 0x0000207A File Offset: 0x0000027A
15
private
static
object
InternalSyncObject
16
{
17
get
18
{
19
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
20
}
21
}
22
23
// Token: 0x060009D8 RID: 2520 RVA: 0x00017598 File Offset: 0x00015798
24
protected
TimeZone
()
25
{
26
}
27
28
// Token: 0x170000B4 RID: 180
29
// (get) Token: 0x060009D9 RID: 2521 RVA: 0x000175AC File Offset: 0x000157AC
30
public
static
TimeZone
CurrentTimeZone
31
{
32
get
33
{
34
object
internalSyncObject
=
TimeZone
.
InternalSyncObject
;
35
long
num = 0
L
;
36
Monitor
.
Exit
(
internalSyncObject
);
37
if
(num == 0
L
)
38
{
39
}
40
throw
new
OutOfMemoryException
();
41
}
42
}
43
44
// Token: 0x060009DA RID: 2522
45
public
abstract
TimeSpan
GetUtcOffset
(
DateTime
time);
46
47
// Token: 0x060009DB RID: 2523
48
public
abstract
DaylightTime
GetDaylightChanges
(
int
year);
49
50
// Token: 0x060009DC RID: 2524 RVA: 0x000175E8 File Offset: 0x000157E8
51
internal
static
TimeSpan
CalculateUtcOffset
(
DateTime
time,
DaylightTime
daylightTimes
)
52
{
53
if
(
daylightTimes
!=
null
)
54
{
55
}
56
if
(!
true
)
57
{
58
}
59
return
1;
60
}
61
62
// Token: 0x040003CA RID: 970
63
private
static
TimeZone
currentTimeZone
;
64
65
// Token: 0x040003CB RID: 971
66
private
static
object
s_InternalSyncObject
;
67
}
68
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.Globalization.DaylightTime
Definition
DaylightTime.cs:8
System.OutOfMemoryException
Definition
OutOfMemoryException.cs:9
System.Threading.Monitor.Exit
static void Exit(object obj)
Definition
Monitor.cs:47
System.Threading.Monitor
Definition
Monitor.cs:9
System.TimeZone.CurrentTimeZone
static TimeZone CurrentTimeZone
Definition
TimeZone.cs:31
System.TimeZone.s_InternalSyncObject
static object s_InternalSyncObject
Definition
TimeZone.cs:66
System.TimeZone.CalculateUtcOffset
static TimeSpan CalculateUtcOffset(DateTime time, DaylightTime daylightTimes)
Definition
TimeZone.cs:51
System.TimeZone.GetUtcOffset
TimeSpan GetUtcOffset(DateTime time)
System.TimeZone.currentTimeZone
static TimeZone currentTimeZone
Definition
TimeZone.cs:63
System.TimeZone.GetDaylightChanges
DaylightTime GetDaylightChanges(int year)
System.TimeZone.InternalSyncObject
static object InternalSyncObject
Definition
TimeZone.cs:16
System.TimeZone.TimeZone
TimeZone()
Definition
TimeZone.cs:24
System.TimeZone
Definition
TimeZone.cs:12
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Globalization
Definition
Bootstring.cs:5
System.Reflection.TypeAttributes.Serializable
@ Serializable
System.Threading
Definition
_ThreadPoolWaitCallback.cs:4
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
System.DateTime
Definition
DateTime.cs:13
System.TimeSpan
Definition
TimeSpan.cs:10
source
mscorlib
System
TimeZone.cs
Generated by
1.10.0