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
RuntimeFieldHandle.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Reflection
;
3
using
System.Runtime.ConstrainedExecution
;
4
using
System.Runtime.InteropServices
;
5
using
System.Runtime.Serialization
;
6
using
Cpp2IlInjected
;
7
8
namespace
System
9
{
10
// Token: 0x0200018A RID: 394
11
[
ComVisible
(
true
)]
12
[
Serializable
]
13
public
struct
RuntimeFieldHandle
:
ISerializable
14
{
15
// Token: 0x06000F3E RID: 3902 RVA: 0x000207F8 File Offset: 0x0001E9F8
16
internal
RuntimeFieldHandle
(
IntPtr
v)
17
{
18
this.value
= v;
19
}
20
21
// Token: 0x06000F3F RID: 3903 RVA: 0x0002080C File Offset: 0x0001EA0C
22
private
RuntimeFieldHandle
(
SerializationInfo
info
,
StreamingContext
context)
23
{
24
if
(
info
!=
null
)
25
{
26
Type
type;
27
object
obj
=
info
.GetValue(
"FieldObj"
, type);
28
this.value
=
obj
;
29
return
;
30
}
31
}
32
33
// Token: 0x1700015F RID: 351
34
// (get) Token: 0x06000F40 RID: 3904 RVA: 0x0000207A File Offset: 0x0000027A
35
public
IntPtr
Value
36
{
37
get
38
{
39
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
40
}
41
}
42
43
// Token: 0x06000F41 RID: 3905 RVA: 0x00020838 File Offset: 0x0001EA38
44
public
void
GetObjectData
(
SerializationInfo
info
,
StreamingContext
context)
45
{
46
if
(
info
!=
null
)
47
{
48
FieldInfo
fieldInfo
;
49
if
(
fieldInfo
!=
null
)
50
{
51
}
52
Type
type;
53
info
.AddValue(
"FieldObj"
,
fieldInfo
, type);
54
return
;
55
}
56
}
57
58
// Token: 0x06000F42 RID: 3906 RVA: 0x00020860 File Offset: 0x0001EA60
59
[
ReliabilityContract
(
Consistency
.WillNotCorruptState,
Cer
.Success)]
60
public
override
bool
Equals
(
object
obj
)
61
{
62
if
(
obj
!=
null
)
63
{
64
}
65
throw
new
InvalidCastException
();
66
}
67
68
// Token: 0x06000F43 RID: 3907 RVA: 0x0000207A File Offset: 0x0000027A
69
public
override
int
GetHashCode
()
70
{
71
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
72
}
73
74
// Token: 0x06000F44 RID: 3908 RVA: 0x00020878 File Offset: 0x0001EA78
75
private
static
void
SetValueInternal
(
FieldInfo
fi
,
object
obj
,
object
value
)
76
{
77
}
78
79
// Token: 0x06000F45 RID: 3909 RVA: 0x00020888 File Offset: 0x0001EA88
80
internal
static
void
SetValue
(
RuntimeFieldInfo
field,
object
obj
,
object
value
,
RuntimeType
fieldType
,
FieldAttributes
fieldAttr
,
RuntimeType
declaringType
,
bool
domainInitialized
)
81
{
82
}
83
84
// Token: 0x06000F46 RID: 3910 RVA: 0x00020898 File Offset: 0x0001EA98
85
internal
unsafe
static
void
SetValueDirect
(
RuntimeFieldInfo
field,
RuntimeType
fieldType
,
void
*
pTypedRef
,
object
value
,
RuntimeType
contextType
)
86
{
87
}
88
89
// Token: 0x04000695 RID: 1685
90
private
IntPtr
value
;
91
}
92
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.Reflection.FieldInfo
Definition
FieldInfo.cs:12
System.Reflection.RuntimeFieldInfo
Definition
RuntimeFieldInfo.cs:14
System.RuntimeType
Definition
RuntimeType.cs:16
System.Runtime.Serialization.SerializationInfo
Definition
SerializationInfo.cs:10
System.Type
Definition
Type.cs:12
System.Runtime.Serialization.ISerializable
Definition
ISerializable.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Reflection.FieldAttributes
FieldAttributes
Definition
FieldAttributes.cs:8
System.Reflection.TypeAttributes.Serializable
@ Serializable
System.Reflection
Definition
AmbiguousMatchException.cs:5
System.Runtime.ConstrainedExecution.Consistency
Consistency
Definition
Consistency.cs:7
System.Runtime.ConstrainedExecution.Cer
Cer
Definition
Cer.cs:7
System.Runtime.ConstrainedExecution
Definition
Cer.cs:4
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.Runtime.Serialization
Definition
DeserializationEventHandler.cs:4
System.ExceptionArgument.obj
@ obj
System.ExceptionArgument.info
@ info
System
Definition
__ComObject.cs:4
System.IntPtr
Definition
IntPtr.cs:13
System.RuntimeFieldHandle.Value
IntPtr Value
Definition
RuntimeFieldHandle.cs:36
System.RuntimeFieldHandle.GetHashCode
override int GetHashCode()
Definition
RuntimeFieldHandle.cs:69
System.RuntimeFieldHandle.SetValueDirect
static unsafe void SetValueDirect(RuntimeFieldInfo field, RuntimeType fieldType, void *pTypedRef, object value, RuntimeType contextType)
Definition
RuntimeFieldHandle.cs:85
System.RuntimeFieldHandle.GetObjectData
void GetObjectData(SerializationInfo info, StreamingContext context)
Definition
RuntimeFieldHandle.cs:44
System.RuntimeFieldHandle.SetValueInternal
static void SetValueInternal(FieldInfo fi, object obj, object value)
Definition
RuntimeFieldHandle.cs:75
System.RuntimeFieldHandle.RuntimeFieldHandle
RuntimeFieldHandle(IntPtr v)
Definition
RuntimeFieldHandle.cs:16
System.RuntimeFieldHandle.RuntimeFieldHandle
RuntimeFieldHandle(SerializationInfo info, StreamingContext context)
Definition
RuntimeFieldHandle.cs:22
System.RuntimeFieldHandle.value
IntPtr value
Definition
RuntimeFieldHandle.cs:90
System.RuntimeFieldHandle.Equals
override bool Equals(object obj)
Definition
RuntimeFieldHandle.cs:60
System.RuntimeFieldHandle.SetValue
static void SetValue(RuntimeFieldInfo field, object obj, object value, RuntimeType fieldType, FieldAttributes fieldAttr, RuntimeType declaringType, bool domainInitialized)
Definition
RuntimeFieldHandle.cs:80
System.RuntimeFieldHandle
Definition
RuntimeFieldHandle.cs:14
System.Runtime.Serialization.StreamingContext
Definition
StreamingContext.cs:10
source
mscorlib
System
RuntimeFieldHandle.cs
Generated by
1.10.0