C# Class Hiro.TypeReferenceExtensions

A class that extends the TypeDefinition class with features similar to the features in the System.Reflection.Emit namespace.
Afficher le fichier Open project: philiplaureano/Hiro

Méthodes publiques

Méthode Description
IsEquivalentTo ( this type, TypeReference otherType ) : bool

Tests if a TypeReference is equivalent to an other, no matter which ModuleDefinition defines them.

Private Methods

Méthode Description
GetAssemblyFromScope ( IMetadataScope scope ) : Mono.Cecil.AssemblyNameReference

Returns the AssemblyNameReference associated with the IMetadataScope

Method Details

IsEquivalentTo() public static méthode

Tests if a TypeReference is equivalent to an other, no matter which ModuleDefinition defines them.
public static IsEquivalentTo ( this type, TypeReference otherType ) : bool
type this The first type
otherType Mono.Cecil.TypeReference The second type
Résultat bool