Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ExpandoToDispatchExMarshaler.cs
Go to the documentation of this file.
1
namespace
System.Runtime.InteropServices.CustomMarshalers
;
2
3
internal
sealed
class
ExpandoToDispatchExMarshaler
:
ICustomMarshaler
4
{
5
private
static
readonly
ExpandoToDispatchExMarshaler
s_ExpandoToDispatchExMarshaler
=
new
ExpandoToDispatchExMarshaler
();
6
7
public
static
ICustomMarshaler
GetInstance
(
string
cookie)
8
{
9
return
s_ExpandoToDispatchExMarshaler
;
10
}
11
12
private
ExpandoToDispatchExMarshaler
()
13
{
14
}
15
16
public
void
CleanUpManagedData
(
object
ManagedObj)
17
{
18
}
19
20
public
void
CleanUpNativeData
(
IntPtr
pNativeData)
21
{
22
}
23
24
public
int
GetNativeDataSize
()
25
{
26
return
-1;
27
}
28
29
public
IntPtr
MarshalManagedToNative
(
object
ManagedObj)
30
{
31
throw
new
PlatformNotSupportedException
(
SR
.
PlatformNotSupported_IExpando
);
32
}
33
34
public
object
MarshalNativeToManaged
(
IntPtr
pNativeData)
35
{
36
throw
new
PlatformNotSupportedException
(
SR
.
PlatformNotSupported_IExpando
);
37
}
38
}
System.PlatformNotSupportedException
Definition
PlatformNotSupportedException.cs:9
System.Runtime.InteropServices.CustomMarshalers.ExpandoToDispatchExMarshaler.MarshalManagedToNative
IntPtr MarshalManagedToNative(object ManagedObj)
Definition
ExpandoToDispatchExMarshaler.cs:29
System.Runtime.InteropServices.CustomMarshalers.ExpandoToDispatchExMarshaler.GetNativeDataSize
int GetNativeDataSize()
Definition
ExpandoToDispatchExMarshaler.cs:24
System.Runtime.InteropServices.CustomMarshalers.ExpandoToDispatchExMarshaler.CleanUpManagedData
void CleanUpManagedData(object ManagedObj)
Definition
ExpandoToDispatchExMarshaler.cs:16
System.Runtime.InteropServices.CustomMarshalers.ExpandoToDispatchExMarshaler.MarshalNativeToManaged
object MarshalNativeToManaged(IntPtr pNativeData)
Definition
ExpandoToDispatchExMarshaler.cs:34
System.Runtime.InteropServices.CustomMarshalers.ExpandoToDispatchExMarshaler.CleanUpNativeData
void CleanUpNativeData(IntPtr pNativeData)
Definition
ExpandoToDispatchExMarshaler.cs:20
System.Runtime.InteropServices.CustomMarshalers.ExpandoToDispatchExMarshaler.ExpandoToDispatchExMarshaler
ExpandoToDispatchExMarshaler()
Definition
ExpandoToDispatchExMarshaler.cs:12
System.Runtime.InteropServices.CustomMarshalers.ExpandoToDispatchExMarshaler.s_ExpandoToDispatchExMarshaler
static readonly ExpandoToDispatchExMarshaler s_ExpandoToDispatchExMarshaler
Definition
ExpandoToDispatchExMarshaler.cs:5
System.Runtime.InteropServices.CustomMarshalers.ExpandoToDispatchExMarshaler.GetInstance
static ICustomMarshaler GetInstance(string cookie)
Definition
ExpandoToDispatchExMarshaler.cs:7
System.Runtime.InteropServices.CustomMarshalers.ExpandoToDispatchExMarshaler
Definition
ExpandoToDispatchExMarshaler.cs:4
System.SR.PlatformNotSupported_IExpando
static string PlatformNotSupported_IExpando
Definition
SR.cs:1802
System.SR
Definition
SR.cs:7
System.Runtime.InteropServices.ICustomMarshaler
Definition
ICustomMarshaler.cs:4
System.Runtime.InteropServices.CustomMarshalers
Definition
ComDataHelpers.cs:3
System.IntPtr
Definition
IntPtr.cs:14
source
System.Private.CoreLib
System.Runtime.InteropServices.CustomMarshalers
ExpandoToDispatchExMarshaler.cs
Generated by
1.10.0