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
NativeMethodAttribute.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Diagnostics
;
3
using
System.Runtime.CompilerServices
;
4
5
namespace
UnityEngine.Bindings
6
{
7
// Token: 0x0200000F RID: 15
8
[
AttributeUsage
(
AttributeTargets
.Method |
AttributeTargets
.Property)]
9
[
VisibleToOtherModules
]
10
internal
class
NativeMethodAttribute
:
Attribute
11
{
12
// Token: 0x1700000A RID: 10
13
// (set) Token: 0x06000019 RID: 25 RVA: 0x000022AC File Offset: 0x000004AC
14
public
string
Name
15
{
16
[
CompilerGenerated
]
17
set
18
{
19
this.<
Name
>
k__BackingField
=
value
;
20
}
21
}
22
23
// Token: 0x1700000B RID: 11
24
// (set) Token: 0x0600001A RID: 26 RVA: 0x000022C0 File Offset: 0x000004C0
25
public
bool
IsThreadSafe
26
{
27
[
CompilerGenerated
]
28
set
29
{
30
}
31
}
32
33
// Token: 0x1700000C RID: 12
34
// (set) Token: 0x0600001B RID: 27 RVA: 0x000022D0 File Offset: 0x000004D0
35
public
bool
IsFreeFunction
36
{
37
[
CompilerGenerated
]
38
set
39
{
40
}
41
}
42
43
// Token: 0x1700000D RID: 13
44
// (set) Token: 0x0600001C RID: 28 RVA: 0x000022E0 File Offset: 0x000004E0
45
public
bool
ThrowsException
46
{
47
[
CompilerGenerated
]
48
set
49
{
50
}
51
}
52
53
// Token: 0x1700000E RID: 14
54
// (set) Token: 0x0600001D RID: 29 RVA: 0x000022F0 File Offset: 0x000004F0
55
public
bool
HasExplicitThis
56
{
57
[
CompilerGenerated
]
58
set
59
{
60
}
61
}
62
63
// Token: 0x0600001E RID: 30 RVA: 0x00002300 File Offset: 0x00000500
64
public
NativeMethodAttribute
()
65
{
66
}
67
68
// Token: 0x0600001F RID: 31 RVA: 0x00002314 File Offset: 0x00000514
69
public
NativeMethodAttribute
(
string
name
)
70
{
71
if
(name !=
null
)
72
{
73
bool
flag =
name
==
""
;
74
this.Name
=
name
;
75
return
;
76
}
77
}
78
79
// Token: 0x06000020 RID: 32 RVA: 0x00002340 File Offset: 0x00000540
80
public
NativeMethodAttribute
(
string
name
,
bool
isFreeFunction
)
81
{
82
}
83
84
// Token: 0x06000021 RID: 33 RVA: 0x00002350 File Offset: 0x00000550
85
public
NativeMethodAttribute
(
string
name
,
bool
isFreeFunction
,
bool
isThreadSafe
)
86
{
87
}
88
89
// Token: 0x0400000C RID: 12
90
[
CompilerGenerated
]
91
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
92
private
string <Name>
k__BackingField
;
93
94
// Token: 0x0400000D RID: 13
95
[
CompilerGenerated
]
96
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
97
private
bool <IsThreadSafe>
k__BackingField
;
98
99
// Token: 0x0400000E RID: 14
100
[
CompilerGenerated
]
101
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
102
private
bool <IsFreeFunction>
k__BackingField
;
103
104
// Token: 0x0400000F RID: 15
105
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
106
[
CompilerGenerated
]
107
private
bool <ThrowsException>
k__BackingField
;
108
109
// Token: 0x04000010 RID: 16
110
[
CompilerGenerated
]
111
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
112
private
bool <HasExplicitThis>
k__BackingField
;
113
}
114
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Attribute
Definition
Attribute.cs:11
UnityEngine.Bindings.NativeMethodAttribute.IsFreeFunction
bool IsFreeFunction
Definition
NativeMethodAttribute.cs:36
UnityEngine.Bindings.NativeMethodAttribute.HasExplicitThis
bool HasExplicitThis
Definition
NativeMethodAttribute.cs:56
UnityEngine.Bindings.NativeMethodAttribute.IsThreadSafe
bool IsThreadSafe
Definition
NativeMethodAttribute.cs:26
UnityEngine.Bindings.NativeMethodAttribute.k__BackingField
string< Name > k__BackingField
Definition
NativeMethodAttribute.cs:92
UnityEngine.Bindings.NativeMethodAttribute.k__BackingField
bool< IsFreeFunction > k__BackingField
Definition
NativeMethodAttribute.cs:102
UnityEngine.Bindings.NativeMethodAttribute.NativeMethodAttribute
NativeMethodAttribute()
Definition
NativeMethodAttribute.cs:64
UnityEngine.Bindings.NativeMethodAttribute.ThrowsException
bool ThrowsException
Definition
NativeMethodAttribute.cs:46
UnityEngine.Bindings.NativeMethodAttribute.NativeMethodAttribute
NativeMethodAttribute(string name, bool isFreeFunction)
Definition
NativeMethodAttribute.cs:80
UnityEngine.Bindings.NativeMethodAttribute.k__BackingField
bool< IsThreadSafe > k__BackingField
Definition
NativeMethodAttribute.cs:97
UnityEngine.Bindings.NativeMethodAttribute.NativeMethodAttribute
NativeMethodAttribute(string name, bool isFreeFunction, bool isThreadSafe)
Definition
NativeMethodAttribute.cs:85
UnityEngine.Bindings.NativeMethodAttribute.k__BackingField
bool< HasExplicitThis > k__BackingField
Definition
NativeMethodAttribute.cs:112
UnityEngine.Bindings.NativeMethodAttribute.NativeMethodAttribute
NativeMethodAttribute(string name)
Definition
NativeMethodAttribute.cs:69
UnityEngine.Bindings.NativeMethodAttribute.Name
string Name
Definition
NativeMethodAttribute.cs:15
UnityEngine.Bindings.NativeMethodAttribute.k__BackingField
bool< ThrowsException > k__BackingField
Definition
NativeMethodAttribute.cs:107
UnityEngine.Bindings.NativeMethodAttribute
Definition
NativeMethodAttribute.cs:11
System.Diagnostics.DebuggerBrowsableState
DebuggerBrowsableState
Definition
DebuggerBrowsableState.cs:9
System.Diagnostics
Definition
ConditionalAttribute.cs:5
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.ExceptionArgument.value
@ value
System.ExceptionArgument.name
@ name
System.AttributeTargets
AttributeTargets
Definition
AttributeTargets.cs:8
System
Definition
__ComObject.cs:4
UnityEngine.Bindings
Definition
CodegenOptions.cs:4
source
UnityEngine.SharedInternalsModule
UnityEngine
Bindings
NativeMethodAttribute.cs
Generated by
1.10.0