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

Inheritance: Unity.IL2CPP.Marshaling.BodyWriters.InteropMethodBodyWriter
Afficher le fichier Open project: CarlosHBC/UnityDecompiled

Protected Properties

Свойство Type Description
_managedMethod Mono.Cecil.MethodReference

Méthodes publiques

Méthode Description
NativeToManagedInteropMethodBodyWriter ( MethodReference managedMethod, MethodReference interopMethod, MarshalType marshalType, bool useUnicodeCharset ) : Mono.Cecil

Méthodes protégées

Méthode Description
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

Method Details

GetMethodCallExpression() protected méthode

protected GetMethodCallExpression ( IRuntimeMetadataAccess metadataAccess, string thisArgument, IEnumerable localVariableNames ) : string
metadataAccess IRuntimeMetadataAccess
thisArgument string
localVariableNames IEnumerable
Résultat string

NativeToManagedInteropMethodBodyWriter() public méthode

public NativeToManagedInteropMethodBodyWriter ( MethodReference managedMethod, MethodReference interopMethod, MarshalType marshalType, bool useUnicodeCharset ) : Mono.Cecil
managedMethod Mono.Cecil.MethodReference
interopMethod Mono.Cecil.MethodReference
marshalType MarshalType
useUnicodeCharset bool
Résultat Mono.Cecil

WriteMethodPrologue() protected méthode

protected WriteMethodPrologue ( CppCodeWriter writer, IRuntimeMetadataAccess metadataAccess ) : void
writer CppCodeWriter
metadataAccess IRuntimeMetadataAccess
Résultat void

WriteReturnStatement() protected final méthode

protected final WriteReturnStatement ( CppCodeWriter writer, string unmarshaledReturnValueVariableName, IRuntimeMetadataAccess metadataAccess ) : void
writer CppCodeWriter
unmarshaledReturnValueVariableName string
metadataAccess IRuntimeMetadataAccess
Résultat void

WriteReturnStatementEpilogue() protected abstract méthode

protected abstract WriteReturnStatementEpilogue ( CppCodeWriter writer, string unmarshaleedReturnValueVariableName ) : void
writer CppCodeWriter
unmarshaleedReturnValueVariableName string
Résultat void

Property Details

_managedMethod protected_oe property

protected MethodReference,Mono.Cecil _managedMethod
Résultat Mono.Cecil.MethodReference