C# Class Hiro.TypeReferenceExtensions

A class that extends the TypeDefinition class with features similar to the features in the System.Reflection.Emit namespace.
显示文件 Open project: philiplaureano/Hiro

Public Methods

Method Description
IsEquivalentTo ( this type, TypeReference otherType ) : bool

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

Private Methods

Method Description
GetAssemblyFromScope ( IMetadataScope scope ) : Mono.Cecil.AssemblyNameReference

Returns the AssemblyNameReference associated with the IMetadataScope

Method Details

IsEquivalentTo() public static method

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
return bool