1

Closed

Add Covariance and Contravariance support

description

System.Func and System.Action delegates have their generic parameters annotated with ‘in’ and ‘out’. This enables Covariance and Contravariance. AsyncFunc should do the same.
Closed Feb 2, 2011 at 7:58 PM by StanislawSwierc
It turned out that because AsyncFunc uses System.Func generic delegate it already supports covariance and contravariance!

comments

StanislawSwierc wrote Feb 2, 2011 at 7:58 PM

It turned out that because AsyncFunc uses System.Func generic delegate it already supports covariance and contravariance!

wrote Feb 2, 2011 at 7:58 PM

wrote Feb 13, 2013 at 8:26 PM

wrote May 16, 2013 at 5:13 AM