Ejemplo n.º 1
0
        /*Telerik Authorship*/
        private AssemblyStrongNameExtended GetAssemblyKey(AssemblyDefinition assemblyDefinition)
        {
            ModuleDefinition moduleDefinition = assemblyDefinition.MainModule;

            SpecialTypeAssembly special = moduleDefinition.IsReferenceAssembly() ? SpecialTypeAssembly.Reference : SpecialTypeAssembly.None;

            return(new AssemblyStrongNameExtended(assemblyDefinition.FullName, moduleDefinition.GetModuleArchitecture(), special));
        }