using System; using System.Reflection; using System.Text; namespace Attribute01 { class Program { static void Main(string[] args) { Type type = typeof(Test); foreach (CodeReviewAttribute att in type.GetCustomAttributes(typeof(CodeReviewAttribute),…
Both Microsoft.CCI and Mono.Cecil are low-level, and don't validate produced assemblies. It takes lots of time to find the reason of problem, if there is any error in generated code or assembly structure. I'd recommend using PostSharp if it's feature…