public class MyAttribute : Attribute
Console.WriteLine("attr got created");
public static void Main()
Console.WriteLine("Create classes");
Console.WriteLine("Create type");
Console.WriteLine("Ask for attributes first time");
var attr = t.GetCustomAttributes(true);
Console.WriteLine("Ask for attributes second time");
var attr2 = t.GetCustomAttributes(true);