Esempio n. 1
0
        protected CustomAttribute getAssemblyAttribute(TypeReference attr)
        {
            var list = new List <CustomAttribute>(DotNetUtils.findAttributes(module.Assembly, attr));

            return(list.Count == 0 ? null : list[0]);
        }