zcz527 / autofac

Automatically exported from code.google.com/p/autofac
Other
0 stars 0 forks source link

IsClosedTypeOf dose not work on interface types #301

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The following test returns fails but it should succeed. 

[Test]
public void IsClosedTypeOfReturnsTrueForOpenGenericInterfaces()
{            
Assert.True(typeof(ICommand<SaveCommandData>).IsClosedTypeOf(typeof(ICommand<>))
);
}

Original issue reported on code.google.com by lanwin...@gmail.com on 28 Feb 2011 at 9:28

GoogleCodeExporter commented 8 years ago
Fixed - many thanks!

Original comment by nicholas...@gmail.com on 6 Mar 2011 at 4:48