C# Class Unity.IL2CPP.Marshaling.BodyWriters.ManagedToNative.ComMethodBodyWriter

Inheritance: ManagedToNativeInteropMethodBodyWriter
Exibir arquivo Open project: CarlosHBC/UnityDecompiled

Protected Properties

Property Type Description
_actualMethod Mono.Cecil.MethodReference
_interfaceType Mono.Cecil.TypeReference

Public Methods

Method Description
ComMethodBodyWriter ( MethodReference actualMethod, MethodReference interfaceMethod ) : Mono.Cecil

Protected Methods

Method Description
OnBeforeHResultCheck ( CppCodeWriter writer ) : void
WriteInteropCallStatement ( CppCodeWriter writer, string localVariableNames, IRuntimeMetadataAccess metadataAccess ) : void
WriteMethodPrologue ( CppCodeWriter writer, IRuntimeMetadataAccess metadataAccess ) : void

Private Methods

Method Description
GetMarshalType ( MethodReference interfaceMethod ) : MarshalType
GetMethodCallExpression ( string localVariableNames ) : string

Method Details

ComMethodBodyWriter() public method

public ComMethodBodyWriter ( MethodReference actualMethod, MethodReference interfaceMethod ) : Mono.Cecil
actualMethod Mono.Cecil.MethodReference
interfaceMethod Mono.Cecil.MethodReference
return Mono.Cecil

OnBeforeHResultCheck() protected method

protected OnBeforeHResultCheck ( CppCodeWriter writer ) : void
writer CppCodeWriter
return void

WriteInteropCallStatement() protected method

protected WriteInteropCallStatement ( CppCodeWriter writer, string localVariableNames, IRuntimeMetadataAccess metadataAccess ) : void
writer CppCodeWriter
localVariableNames string
metadataAccess IRuntimeMetadataAccess
return void

WriteMethodPrologue() protected method

protected WriteMethodPrologue ( CppCodeWriter writer, IRuntimeMetadataAccess metadataAccess ) : void
writer CppCodeWriter
metadataAccess IRuntimeMetadataAccess
return void

Property Details

_actualMethod protected_oe property

protected MethodReference,Mono.Cecil _actualMethod
return Mono.Cecil.MethodReference

_interfaceType protected_oe property

protected TypeReference,Mono.Cecil _interfaceType
return Mono.Cecil.TypeReference