C# Class Unity.IL2CPP.Marshaling.MarshalInfoWriters.HandleRefMarshalInfoWriter

Inheritance: MarshalableMarshalInfoWriter
Mostra file Open project: CarlosHBC/UnityDecompiled

Public Methods

Method Description
CanMarshalTypeFromNative ( ) : bool
CanMarshalTypeToNative ( ) : bool
GetMarshalingException ( ) : string
HandleRefMarshalInfoWriter ( TypeReference type, bool forByReferenceType ) : Mono.Cecil
WriteMarshalVariableFromNative ( CppCodeWriter writer, string variableName, IList methodParameters, bool returnValue, bool forNativeWrapperOfManagedMethod, IRuntimeMetadataAccess metadataAccess ) : string
WriteMarshalVariableFromNative ( CppCodeWriter writer, string variableName, ManagedMarshalValue destinationVariable, IList methodParameters, bool returnValue, bool forNativeWrapperOfManagedMethod, IRuntimeMetadataAccess metadataAccess ) : void
WriteMarshalVariableToNative ( CppCodeWriter writer, ManagedMarshalValue sourceVariable, string destinationVariable, string managedVariableName, IRuntimeMetadataAccess metadataAccess ) : void
WriteMarshaledTypeForwardDeclaration ( CppCodeWriter writer ) : void

Method Details

CanMarshalTypeFromNative() public method

public CanMarshalTypeFromNative ( ) : bool
return bool

CanMarshalTypeToNative() public method

public CanMarshalTypeToNative ( ) : bool
return bool

GetMarshalingException() public method

public GetMarshalingException ( ) : string
return string

HandleRefMarshalInfoWriter() public method

public HandleRefMarshalInfoWriter ( TypeReference type, bool forByReferenceType ) : Mono.Cecil
type Mono.Cecil.TypeReference
forByReferenceType bool
return Mono.Cecil

WriteMarshalVariableFromNative() public method

public WriteMarshalVariableFromNative ( CppCodeWriter writer, string variableName, IList methodParameters, bool returnValue, bool forNativeWrapperOfManagedMethod, IRuntimeMetadataAccess metadataAccess ) : string
writer CppCodeWriter
variableName string
methodParameters IList
returnValue bool
forNativeWrapperOfManagedMethod bool
metadataAccess IRuntimeMetadataAccess
return string

WriteMarshalVariableFromNative() public method

public WriteMarshalVariableFromNative ( CppCodeWriter writer, string variableName, ManagedMarshalValue destinationVariable, IList methodParameters, bool returnValue, bool forNativeWrapperOfManagedMethod, IRuntimeMetadataAccess metadataAccess ) : void
writer CppCodeWriter
variableName string
destinationVariable Unity.IL2CPP.Marshaling.ManagedMarshalValue
methodParameters IList
returnValue bool
forNativeWrapperOfManagedMethod bool
metadataAccess IRuntimeMetadataAccess
return void

WriteMarshalVariableToNative() public method

public WriteMarshalVariableToNative ( CppCodeWriter writer, ManagedMarshalValue sourceVariable, string destinationVariable, string managedVariableName, IRuntimeMetadataAccess metadataAccess ) : void
writer CppCodeWriter
sourceVariable Unity.IL2CPP.Marshaling.ManagedMarshalValue
destinationVariable string
managedVariableName string
metadataAccess IRuntimeMetadataAccess
return void

WriteMarshaledTypeForwardDeclaration() public method

public WriteMarshaledTypeForwardDeclaration ( CppCodeWriter writer ) : void
writer CppCodeWriter
return void