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
DllImportAttribute.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Reflection
;
3
using
Cpp2IlInjected
;
4
5
namespace
System.Runtime.InteropServices
6
{
7
// Token: 0x02000449 RID: 1097
8
[
ComVisible
(
true
)]
9
[
AttributeUsage
(
AttributeTargets
.Method, Inherited =
false
)]
10
public
sealed
class
DllImportAttribute
:
Attribute
11
{
12
// Token: 0x06002173 RID: 8563 RVA: 0x0004C124 File Offset: 0x0004A324
13
internal
static
Attribute
GetCustomAttribute
(
RuntimeMethodInfo
method)
14
{
15
}
16
17
// Token: 0x06002174 RID: 8564 RVA: 0x0000207A File Offset: 0x0000027A
18
internal
static
bool
IsDefined
(
RuntimeMethodInfo
method)
19
{
20
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
21
}
22
23
// Token: 0x06002175 RID: 8565 RVA: 0x0004C134 File Offset: 0x0004A334
24
internal
DllImportAttribute
(
string
dllName
,
string
entryPoint
,
CharSet
charSet
,
bool
exactSpelling
,
bool
setLastError
,
bool
preserveSig
,
CallingConvention
callingConvention
,
bool
bestFitMapping
,
bool
throwOnUnmappableChar
)
25
{
26
this._val
=
dllName
;
27
this.EntryPoint
=
entryPoint
;
28
this.CharSet
=
charSet
;
29
this.CallingConvention
=
callingConvention
;
30
}
31
32
// Token: 0x06002176 RID: 8566 RVA: 0x0004C164 File Offset: 0x0004A364
33
public
DllImportAttribute
(
string
dllName
)
34
{
35
this._val
=
dllName
;
36
}
37
38
// Token: 0x17000457 RID: 1111
39
// (get) Token: 0x06002177 RID: 8567 RVA: 0x0004C180 File Offset: 0x0004A380
40
public
string
Value
41
{
42
get
43
{
44
return
this.
_val
;
45
}
46
}
47
48
// Token: 0x04001267 RID: 4711
49
internal
string
_val
;
50
51
// Token: 0x04001268 RID: 4712
52
public
string
EntryPoint
;
53
54
// Token: 0x04001269 RID: 4713
55
public
CharSet
CharSet
;
56
57
// Token: 0x0400126A RID: 4714
58
public
bool
SetLastError
;
59
60
// Token: 0x0400126B RID: 4715
61
public
bool
ExactSpelling
;
62
63
// Token: 0x0400126C RID: 4716
64
public
bool
PreserveSig
;
65
66
// Token: 0x0400126D RID: 4717
67
public
CallingConvention
CallingConvention
;
68
69
// Token: 0x0400126E RID: 4718
70
public
bool
BestFitMapping
;
71
72
// Token: 0x0400126F RID: 4719
73
public
bool
ThrowOnUnmappableChar
;
74
}
75
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.Attribute
Definition
Attribute.cs:11
System.Reflection.RuntimeMethodInfo
Definition
RuntimeMethodInfo.cs:14
System.Runtime.InteropServices.DllImportAttribute.SetLastError
bool SetLastError
Definition
DllImportAttribute.cs:58
System.Runtime.InteropServices.DllImportAttribute.ExactSpelling
bool ExactSpelling
Definition
DllImportAttribute.cs:61
System.Runtime.InteropServices.DllImportAttribute.GetCustomAttribute
static Attribute GetCustomAttribute(RuntimeMethodInfo method)
Definition
DllImportAttribute.cs:13
System.Runtime.InteropServices.DllImportAttribute.Value
string Value
Definition
DllImportAttribute.cs:41
System.Runtime.InteropServices.DllImportAttribute.BestFitMapping
bool BestFitMapping
Definition
DllImportAttribute.cs:70
System.Runtime.InteropServices.DllImportAttribute.IsDefined
static bool IsDefined(RuntimeMethodInfo method)
Definition
DllImportAttribute.cs:18
System.Runtime.InteropServices.DllImportAttribute.CharSet
CharSet CharSet
Definition
DllImportAttribute.cs:55
System.Runtime.InteropServices.DllImportAttribute.EntryPoint
string EntryPoint
Definition
DllImportAttribute.cs:52
System.Runtime.InteropServices.DllImportAttribute.CallingConvention
CallingConvention CallingConvention
Definition
DllImportAttribute.cs:67
System.Runtime.InteropServices.DllImportAttribute.DllImportAttribute
DllImportAttribute(string dllName)
Definition
DllImportAttribute.cs:33
System.Runtime.InteropServices.DllImportAttribute.DllImportAttribute
DllImportAttribute(string dllName, string entryPoint, CharSet charSet, bool exactSpelling, bool setLastError, bool preserveSig, CallingConvention callingConvention, bool bestFitMapping, bool throwOnUnmappableChar)
Definition
DllImportAttribute.cs:24
System.Runtime.InteropServices.DllImportAttribute.PreserveSig
bool PreserveSig
Definition
DllImportAttribute.cs:64
System.Runtime.InteropServices.DllImportAttribute.ThrowOnUnmappableChar
bool ThrowOnUnmappableChar
Definition
DllImportAttribute.cs:73
System.Runtime.InteropServices.DllImportAttribute._val
string _val
Definition
DllImportAttribute.cs:49
System.Runtime.InteropServices.DllImportAttribute
Definition
DllImportAttribute.cs:11
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Reflection
Definition
AmbiguousMatchException.cs:5
System.Runtime.InteropServices.CallingConvention
CallingConvention
Definition
CallingConvention.cs:9
System.Runtime.InteropServices.CharSet
CharSet
Definition
CharSet.cs:7
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.AttributeTargets
AttributeTargets
Definition
AttributeTargets.cs:8
System
Definition
__ComObject.cs:4
source
mscorlib
System
Runtime
InteropServices
DllImportAttribute.cs
Generated by
1.10.0