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
DateTimeOffsetConverter.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Globalization
;
3
4
namespace
System.ComponentModel
5
{
6
// Token: 0x020003DE RID: 990
7
public
class
DateTimeOffsetConverter
:
TypeConverter
8
{
9
// Token: 0x06001A2A RID: 6698 RVA: 0x000485B8 File Offset: 0x000467B8
10
public
override
bool
CanConvertFrom
(
ITypeDescriptorContext
context,
Type
sourceType)
11
{
12
if
(!
true
)
13
{
14
}
15
Type
type;
16
bool
flag = sourceType == type;
17
return
true
;
18
}
19
20
// Token: 0x06001A2B RID: 6699 RVA: 0x000485D4 File Offset: 0x000467D4
21
public
override
bool
CanConvertTo
(
ITypeDescriptorContext
context,
Type
destinationType
)
22
{
23
if
(!
true
)
24
{
25
}
26
Type
type;
27
bool
flag =
destinationType
== type;
28
return
true
;
29
}
30
31
// Token: 0x06001A2C RID: 6700 RVA: 0x000485F0 File Offset: 0x000467F0
32
public
override
object
ConvertFrom
(
ITypeDescriptorContext
context,
CultureInfo
culture
,
object
value
)
33
{
34
if
(
value
!=
null
)
35
{
36
}
37
return
base
.ConvertFrom(context,
culture
,
value
);
38
}
39
40
// Token: 0x06001A2D RID: 6701 RVA: 0x0004864C File Offset: 0x0004684C
41
public
override
object
ConvertTo
(
ITypeDescriptorContext
context,
CultureInfo
culture
,
object
value
,
Type
destinationType
)
42
{
43
if
(!
true
)
44
{
45
}
46
Type
type;
47
bool
flag =
destinationType
== type;
48
if
(
value
!=
null
)
49
{
50
}
51
Type
type2
;
52
bool
flag2
=
destinationType
==
type2
;
53
if
(
value
!=
null
)
54
{
55
}
56
object
obj
;
57
return
obj
;
58
}
59
60
// Token: 0x06001A2E RID: 6702 RVA: 0x00048748 File Offset: 0x00046948
61
public
DateTimeOffsetConverter
()
62
{
63
}
64
}
65
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.ComponentModel.DateTimeOffsetConverter.DateTimeOffsetConverter
DateTimeOffsetConverter()
Definition
DateTimeOffsetConverter.cs:61
System.ComponentModel.DateTimeOffsetConverter.CanConvertTo
override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Definition
DateTimeOffsetConverter.cs:21
System.ComponentModel.DateTimeOffsetConverter.ConvertFrom
override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Definition
DateTimeOffsetConverter.cs:32
System.ComponentModel.DateTimeOffsetConverter.ConvertTo
override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Definition
DateTimeOffsetConverter.cs:41
System.ComponentModel.DateTimeOffsetConverter.CanConvertFrom
override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Definition
DateTimeOffsetConverter.cs:10
System.ComponentModel.DateTimeOffsetConverter
Definition
DateTimeOffsetConverter.cs:8
System.ComponentModel.TypeConverter
Definition
TypeConverter.cs:12
System.Globalization.CultureInfo
Definition
CultureInfo.cs:15
System.Type
Definition
Type.cs:12
System.ComponentModel.ITypeDescriptorContext
Definition
ITypeDescriptorContext.cs:7
System.ComponentModel
Definition
AddingNewEventArgs.cs:6
System.Globalization
Definition
Bootstring.cs:5
System.ExceptionArgument.value
@ value
System.ExceptionArgument.culture
@ culture
System.ExceptionArgument.obj
@ obj
System
Definition
__ComObject.cs:4
source
System
ComponentModel
DateTimeOffsetConverter.cs
Generated by
1.10.0