C# Class Unity.IL2CPP.Metadata.MetadataUtils

Afficher le fichier Open project: CarlosHBC/UnityDecompiled

Méthodes publiques

Méthode Description
ChangePrimitiveType ( object o, TypeReference type ) : object
GetUnderlyingType ( TypeReference type ) : TypeReference

Private Methods

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

public static ChangePrimitiveType ( object o, TypeReference type ) : object
o object
type Mono.Cecil.TypeReference
Résultat object

GetUnderlyingType() public static méthode

public static GetUnderlyingType ( TypeReference type ) : TypeReference
type Mono.Cecil.TypeReference
Résultat Mono.Cecil.TypeReference