I'm forwarding type definitions for our legacy support. I'm using following syntax to do so:
[assembly: TypeForwardedTo(typeof(NamespaceA.TypeA))]
problem I'm having is that I can't find correct syntax for generic type definitions (it should be possible based on Eric Lippert's post and many other places).
What I would expect as working solution is
[assembly: TypeForwardedTo(typeof(NamespaceA.TypeA<T>))]
Any idea how write that correctly please? Thanks.
You can try like this:
[assembly: TypeForwardedTo(typeof(NamespaceA.TypeA<>))]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With