C# Класс Unity.IL2CPP.Marshaling.BodyWriters.NativeToManaged.NativeToManagedInteropMethodBodyWriter

Наследование: Unity.IL2CPP.Marshaling.BodyWriters.InteropMethodBodyWriter
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_managedMethod Mono.Cecil.MethodReference

Открытые методы

Метод Описание
NativeToManagedInteropMethodBodyWriter ( MethodReference managedMethod, MethodReference interopMethod, MarshalType marshalType, bool useUnicodeCharset ) : Mono.Cecil

Защищенные методы

Метод Описание
GetMethodCallExpression ( IRuntimeMetadataAccess metadataAccess, string thisArgument, IEnumerable localVariableNames ) : string
WriteMethodPrologue ( CppCodeWriter writer, IRuntimeMetadataAccess metadataAccess ) : void
WriteReturnStatement ( CppCodeWriter writer, string unmarshaledReturnValueVariableName, IRuntimeMetadataAccess metadataAccess ) : void
WriteReturnStatementEpilogue ( CppCodeWriter writer, string unmarshaleedReturnValueVariableName ) : void

Описание методов

GetMethodCallExpression() защищенный Метод

protected GetMethodCallExpression ( IRuntimeMetadataAccess metadataAccess, string thisArgument, IEnumerable localVariableNames ) : string
metadataAccess IRuntimeMetadataAccess
thisArgument string
localVariableNames IEnumerable
Результат string

NativeToManagedInteropMethodBodyWriter() публичный Метод

public NativeToManagedInteropMethodBodyWriter ( MethodReference managedMethod, MethodReference interopMethod, MarshalType marshalType, bool useUnicodeCharset ) : Mono.Cecil
managedMethod Mono.Cecil.MethodReference
interopMethod Mono.Cecil.MethodReference
marshalType MarshalType
useUnicodeCharset bool
Результат Mono.Cecil

WriteMethodPrologue() защищенный Метод

protected WriteMethodPrologue ( CppCodeWriter writer, IRuntimeMetadataAccess metadataAccess ) : void
writer CppCodeWriter
metadataAccess IRuntimeMetadataAccess
Результат void

WriteReturnStatement() защищенный закрытый Метод

protected final WriteReturnStatement ( CppCodeWriter writer, string unmarshaledReturnValueVariableName, IRuntimeMetadataAccess metadataAccess ) : void
writer CppCodeWriter
unmarshaledReturnValueVariableName string
metadataAccess IRuntimeMetadataAccess
Результат void

WriteReturnStatementEpilogue() защищенный абстрактный Метод

protected abstract WriteReturnStatementEpilogue ( CppCodeWriter writer, string unmarshaleedReturnValueVariableName ) : void
writer CppCodeWriter
unmarshaleedReturnValueVariableName string
Результат void

Описание свойств

_managedMethod защищенное свойство

protected MethodReference,Mono.Cecil _managedMethod
Результат Mono.Cecil.MethodReference