C# Class Unity.IL2CPP.Marshaling.BodyWriters.NativeToManaged.ComCallableWrapperMethodBodyWriter

Inheritance: NativeToManagedInteropMethodBodyWriter
显示文件 Open project: CarlosHBC/UnityDecompiled

Public Methods

Method Description
ComCallableWrapperMethodBodyWriter ( MethodReference managedMethod, MethodReference interfaceMethod, MarshalType marshalType ) : Mono.Cecil

Protected Methods

Method Description
WriteInteropCallStatement ( CppCodeWriter writer, string localVariableNames, IRuntimeMetadataAccess metadataAccess ) : void
WriteReturnStatementEpilogue ( CppCodeWriter writer, string unmarshaledReturnValueVariableName ) : void

Method Details

ComCallableWrapperMethodBodyWriter() public method

public ComCallableWrapperMethodBodyWriter ( MethodReference managedMethod, MethodReference interfaceMethod, MarshalType marshalType ) : Mono.Cecil
managedMethod Mono.Cecil.MethodReference
interfaceMethod Mono.Cecil.MethodReference
marshalType MarshalType
return Mono.Cecil

WriteInteropCallStatement() protected method

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

WriteReturnStatementEpilogue() protected method

protected WriteReturnStatementEpilogue ( CppCodeWriter writer, string unmarshaledReturnValueVariableName ) : void
writer CppCodeWriter
unmarshaledReturnValueVariableName string
return void