Is there any way of making a composite attribute in C# to provide equivalent metadata at compile time?
E.g, change:
[ClassInterface(ClassInterfaceType.AutoDual)]
[ProgId("MyProgId")]
[MyMefExport("MyProgId")]
public class MyClass
{
}
To:
[MyCompositeAttribute("MyProgId")]
public class MyClass
{
}