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
ProxyAttribute.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
using
System.Runtime.Remoting.Activation
;
4
using
System.Runtime.Remoting.Contexts
;
5
6
namespace
System.Runtime.Remoting.Proxies
7
{
8
// Token: 0x02000359 RID: 857
9
[
ComVisible
(
true
)]
10
[
AttributeUsage
(
AttributeTargets
.Class)]
11
public
class
ProxyAttribute
:
Attribute
,
IContextAttribute
12
{
13
// Token: 0x06001C8F RID: 7311 RVA: 0x0003E228 File Offset: 0x0003C428
14
public
virtual
MarshalByRefObject
CreateInstance
(
Type
serverType)
15
{
16
if
(!
true
)
17
{
18
}
19
throw
new
InvalidCastException
();
20
}
21
22
// Token: 0x06001C90 RID: 7312 RVA: 0x0003E240 File Offset: 0x0003C440
23
public
virtual
RealProxy
CreateProxy
(
ObjRef
objRef
,
Type
serverType,
object
serverObject
,
Context
serverContext
)
24
{
25
if
(!
true
)
26
{
27
}
28
return
RemotingServices
.
GetRealProxy
(
RemotingServices
.
GetProxyForRemoteObject
(
objRef
, serverType));
29
}
30
31
// Token: 0x06001C91 RID: 7313 RVA: 0x0003E25C File Offset: 0x0003C45C
32
[
ComVisible
(
true
)]
33
public
void
GetPropertiesForNewContext
(
IConstructionCallMessage
msg)
34
{
35
}
36
37
// Token: 0x06001C92 RID: 7314 RVA: 0x0003E26C File Offset: 0x0003C46C
38
[
ComVisible
(
true
)]
39
public
bool
IsContextOK
(
Context
ctx,
IConstructionCallMessage
msg)
40
{
41
return
true
;
42
}
43
}
44
}
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.MarshalByRefObject
Definition
MarshalByRefObject.cs:13
System.Runtime.Remoting.Contexts.Context
Definition
Context.cs:15
System.Runtime.Remoting.ObjRef
Definition
ObjRef.cs:13
System.Runtime.Remoting.Proxies.ProxyAttribute.CreateInstance
virtual MarshalByRefObject CreateInstance(Type serverType)
Definition
ProxyAttribute.cs:14
System.Runtime.Remoting.Proxies.ProxyAttribute.CreateProxy
virtual RealProxy CreateProxy(ObjRef objRef, Type serverType, object serverObject, Context serverContext)
Definition
ProxyAttribute.cs:23
System.Runtime.Remoting.Proxies.ProxyAttribute.GetPropertiesForNewContext
void GetPropertiesForNewContext(IConstructionCallMessage msg)
Definition
ProxyAttribute.cs:33
System.Runtime.Remoting.Proxies.ProxyAttribute.IsContextOK
bool IsContextOK(Context ctx, IConstructionCallMessage msg)
Definition
ProxyAttribute.cs:39
System.Runtime.Remoting.Proxies.ProxyAttribute
Definition
ProxyAttribute.cs:12
System.Runtime.Remoting.Proxies.RealProxy
Definition
RealProxy.cs:14
System.Runtime.Remoting.RemotingServices.GetProxyForRemoteObject
static object GetProxyForRemoteObject(ObjRef objref, Type classToProxy)
Definition
RemotingServices.cs:460
System.Runtime.Remoting.RemotingServices.GetRealProxy
static RealProxy GetRealProxy(object proxy)
Definition
RemotingServices.cs:148
System.Runtime.Remoting.RemotingServices
Definition
RemotingServices.cs:20
System.Type
Definition
Type.cs:12
System.Runtime.Remoting.Activation.IConstructionCallMessage
Definition
IConstructionCallMessage.cs:11
System.Runtime.Remoting.Contexts.IContextAttribute
Definition
IContextAttribute.cs:10
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.Runtime.Remoting.Activation
Definition
ActivationServices.cs:9
System.Runtime.Remoting.Contexts
Definition
Context.cs:10
System.Runtime.Remoting.Proxies
Definition
ProxyAttribute.cs:7
System.AttributeTargets
AttributeTargets
Definition
AttributeTargets.cs:8
System
Definition
__ComObject.cs:4
source
mscorlib
System
Runtime
Remoting
Proxies
ProxyAttribute.cs
Generated by
1.10.0