Ejemplo n.º 1
0
        /// <summary>
        /// Retrieve an Assembly Definition from the object
        /// </summary>
        /// <param name="item">the object</param>
        /// <returns>The matching Assembly Definition</returns>
        public override AssemblyDefinition GetAssemblyDefinition(object item)
        {
            IAssemblyLocation aloc = item as IAssemblyLocation;

            return(ReflectorHelper.ReflectorAssemblyLocationToCecilAssemblyDefinition(aloc));
        }