TypeFowardedToAttribute changes in .NET 4.0
I’ve previously covered the TypeForwardedToAttribute in a Moving a type from one assembly to another using TypeForwardedToAttribute. If you ever made using of this attribute in previous versions of the Framework, you might have encountered a few limitations:
- The C# compiler would disallow the forwarding of generic types:
error CS0733: Cannot forward generic type, 'System.Action<>'