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
MarshalAsAttribute.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
System.Runtime.InteropServices
4
{
5
// Token: 0x02000454 RID: 1108
6
[
ComVisible
(
true
)]
7
[
AttributeUsage
(
AttributeTargets
.Field |
AttributeTargets
.Parameter |
AttributeTargets
.ReturnValue, Inherited =
false
)]
8
[
StructLayout
(0)]
9
public
sealed
class
MarshalAsAttribute
:
Attribute
10
{
11
// Token: 0x060021E2 RID: 8674 RVA: 0x0004CA48 File Offset: 0x0004AC48
12
public
MarshalAsAttribute
(
UnmanagedType
unmanagedType
)
13
{
14
this.utype
=
unmanagedType
;
15
}
16
17
// Token: 0x1700045E RID: 1118
18
// (get) Token: 0x060021E3 RID: 8675 RVA: 0x0004CA64 File Offset: 0x0004AC64
19
public
UnmanagedType
Value
20
{
21
get
22
{
23
return
this.
utype
;
24
}
25
}
26
27
// Token: 0x060021E4 RID: 8676 RVA: 0x0004CA78 File Offset: 0x0004AC78
28
internal
MarshalAsAttribute
Copy
()
29
{
30
object
obj
;
31
if
(
obj
!=
null
)
32
{
33
}
34
throw
new
InvalidCastException
();
35
}
36
37
// Token: 0x0400128A RID: 4746
38
public
string
MarshalCookie
;
39
40
// Token: 0x0400128B RID: 4747
41
[
ComVisible
(
true
)]
42
public
string
MarshalType
;
43
44
// Token: 0x0400128C RID: 4748
45
[
ComVisible
(
true
)]
46
public
Type
MarshalTypeRef
;
47
48
// Token: 0x0400128D RID: 4749
49
public
Type
SafeArrayUserDefinedSubType
;
50
51
// Token: 0x0400128E RID: 4750
52
private
UnmanagedType
utype
;
53
54
// Token: 0x0400128F RID: 4751
55
public
UnmanagedType
ArraySubType
;
56
57
// Token: 0x04001290 RID: 4752
58
public
VarEnum
SafeArraySubType
;
59
60
// Token: 0x04001291 RID: 4753
61
public
int
SizeConst
;
62
63
// Token: 0x04001292 RID: 4754
64
public
int
IidParameterIndex
;
65
66
// Token: 0x04001293 RID: 4755
67
public
short
SizeParamIndex
;
68
}
69
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Attribute
Definition
Attribute.cs:11
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.Runtime.InteropServices.MarshalAsAttribute.IidParameterIndex
int IidParameterIndex
Definition
MarshalAsAttribute.cs:64
System.Runtime.InteropServices.MarshalAsAttribute.SafeArraySubType
VarEnum SafeArraySubType
Definition
MarshalAsAttribute.cs:58
System.Runtime.InteropServices.MarshalAsAttribute.utype
UnmanagedType utype
Definition
MarshalAsAttribute.cs:52
System.Runtime.InteropServices.MarshalAsAttribute.MarshalCookie
string MarshalCookie
Definition
MarshalAsAttribute.cs:38
System.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex
short SizeParamIndex
Definition
MarshalAsAttribute.cs:67
System.Runtime.InteropServices.MarshalAsAttribute.MarshalType
string MarshalType
Definition
MarshalAsAttribute.cs:42
System.Runtime.InteropServices.MarshalAsAttribute.SizeConst
int SizeConst
Definition
MarshalAsAttribute.cs:61
System.Runtime.InteropServices.MarshalAsAttribute.MarshalTypeRef
Type MarshalTypeRef
Definition
MarshalAsAttribute.cs:46
System.Runtime.InteropServices.MarshalAsAttribute.Value
UnmanagedType Value
Definition
MarshalAsAttribute.cs:20
System.Runtime.InteropServices.MarshalAsAttribute.MarshalAsAttribute
MarshalAsAttribute(UnmanagedType unmanagedType)
Definition
MarshalAsAttribute.cs:12
System.Runtime.InteropServices.MarshalAsAttribute.SafeArrayUserDefinedSubType
Type SafeArrayUserDefinedSubType
Definition
MarshalAsAttribute.cs:49
System.Runtime.InteropServices.MarshalAsAttribute.ArraySubType
UnmanagedType ArraySubType
Definition
MarshalAsAttribute.cs:55
System.Runtime.InteropServices.MarshalAsAttribute.Copy
MarshalAsAttribute Copy()
Definition
MarshalAsAttribute.cs:28
System.Runtime.InteropServices.MarshalAsAttribute
Definition
MarshalAsAttribute.cs:10
System.Type
Definition
Type.cs:12
System.Runtime.InteropServices.VarEnum
VarEnum
Definition
VarEnum.cs:9
System.Runtime.InteropServices.UnmanagedType
UnmanagedType
Definition
UnmanagedType.cs:9
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.ExceptionArgument.obj
@ obj
System.AttributeTargets
AttributeTargets
Definition
AttributeTargets.cs:8
System
Definition
__ComObject.cs:4
source
mscorlib
System
Runtime
InteropServices
MarshalAsAttribute.cs
Generated by
1.10.0