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
GuidConverter.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Globalization
;
3
4
namespace
System.ComponentModel
5
{
6
// Token: 0x02000379 RID: 889
7
public
class
GuidConverter
:
TypeConverter
8
{
9
// Token: 0x06001756 RID: 5974 RVA: 0x0004348C File Offset: 0x0004168C
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: 0x06001757 RID: 5975 RVA: 0x000434B0 File Offset: 0x000416B0
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: 0x06001758 RID: 5976 RVA: 0x000434D4 File Offset: 0x000416D4
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: 0x06001759 RID: 5977 RVA: 0x000434F0 File Offset: 0x000416F0
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
Type
type2
;
49
if
(
value
==
null
|| (
type2
!=
null
&& (
value
==
null
||
value
!=
null
)))
50
{
51
object
obj
;
52
return
obj
;
53
}
54
throw
new
ArrayTypeMismatchException
();
55
}
56
57
// Token: 0x0600175A RID: 5978 RVA: 0x00043520 File Offset: 0x00041720
58
public
GuidConverter
()
59
{
60
}
61
}
62
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
System.ComponentModel.GuidConverter.ConvertFrom
override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Definition
GuidConverter.cs:32
System.ComponentModel.GuidConverter.CanConvertTo
override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Definition
GuidConverter.cs:21
System.ComponentModel.GuidConverter.ConvertTo
override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Definition
GuidConverter.cs:41
System.ComponentModel.GuidConverter.CanConvertFrom
override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Definition
GuidConverter.cs:10
System.ComponentModel.GuidConverter.GuidConverter
GuidConverter()
Definition
GuidConverter.cs:58
System.ComponentModel.GuidConverter
Definition
GuidConverter.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
GuidConverter.cs
Generated by
1.10.0