C# Class Unity.IL2CPP.Metadata.MetadataUtils

Mostra file Open project: CarlosHBC/UnityDecompiled

Public Methods

Method Description
ChangePrimitiveType ( object o, TypeReference type ) : object
GetUnderlyingType ( TypeReference type ) : TypeReference

Private Methods

Method Description
ConstantDataFor ( IConstantProvider constantProvider, TypeReference declaredParameterOrFieldType, string name ) : byte[]
DetermineMetadataTypeForDefaultValueBasedOnTypeOfConstant ( MetadataType metadataType, object constant ) : MetadataType
DetermineTypeForDefaultValueBasedOnDeclaredType ( TypeReference type, object constant ) : Type

Method Details

ChangePrimitiveType() public static method

public static ChangePrimitiveType ( object o, TypeReference type ) : object
o object
type Mono.Cecil.TypeReference
return object

GetUnderlyingType() public static method

public static GetUnderlyingType ( TypeReference type ) : TypeReference
type Mono.Cecil.TypeReference
return Mono.Cecil.TypeReference