I have coded something like the following:
[Attrib(typeof(MyCustomType))] public class TargetType { // ..... }
I want to use EnvDTE
EnvDTE
You can try to use a way described Get all methods that are decorated with a specific attribute using T4/EnvDTE