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
ArrayConverter.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x02000348 RID: 840
8 {
9 // Token: 0x060015DA RID: 5594 RVA: 0x00040AC4 File Offset: 0x0003ECC4
11 {
12 if (!true)
13 {
14 }
15 Type type;
16 bool flag = destinationType == type;
17 if (value != null)
18 {
19 }
20 return base.ConvertTo(context, culture, value, destinationType);
21 }
22
23 // Token: 0x060015DB RID: 5595 RVA: 0x00040B00 File Offset: 0x0003ED00
25 {
26 if (value != null)
27 {
28 bool isArray = value.GetType().IsArray;
29 Type type = value.GetType();
30 }
32 }
33
34 // Token: 0x060015DC RID: 5596 RVA: 0x00040B38 File Offset: 0x0003ED38
35 public override bool GetPropertiesSupported(ITypeDescriptorContext context)
36 {
37 return true;
38 }
39
40 // Token: 0x060015DD RID: 5597 RVA: 0x00040B48 File Offset: 0x0003ED48
42 {
43 }
44
45 // Token: 0x02000349 RID: 841
47 {
48 // Token: 0x060015DE RID: 5598 RVA: 0x00040B5C File Offset: 0x0003ED5C
50 {
51 string text2;
52 string text = "[" + text2 + "]";
53 this._index = "[";
54 }
55
56 // Token: 0x060015DF RID: 5599 RVA: 0x00040B88 File Offset: 0x0003ED88
57 public override object GetValue(object instance)
58 {
59 if (instance != null)
60 {
61 int index = this._index;
62 object obj;
63 return obj;
64 }
65 }
66
67 // Token: 0x060015E0 RID: 5600 RVA: 0x00040BA8 File Offset: 0x0003EDA8
68 public override void SetValue(object instance, object value)
69 {
70 if (instance != null)
71 {
72 }
73 }
74
75 // Token: 0x040011B2 RID: 4530
76 private readonly int _index;
77 }
78 }
79}
class f__AnonymousType0<< Count > j__TPar
override void SetValue(object instance, object value)
ArrayPropertyDescriptor(Type arrayType, Type elementType, int index)
override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
override bool GetPropertiesSupported(ITypeDescriptorContext context)
new Type GetType()
Definition Type.cs:287