[Mono-dev] c# compiler problem with generics and derived interfaces

Marek Safar marek.safar at seznam.cz
Wed Jun 16 08:34:07 EDT 2010


Hello,
> I cannot compile the code reported below with mono 2.6.4 (which
> compiles fine using visual studio 2008).
>
> By executing  gmcs MatrixArray.cs (see below or attached file)  I
> obtain the following errors:
>
> MatrixArray.cs(40,24): error CS0021: Cannot apply indexing with [] to
> an expression of type `T'
> MatrixArray.cs(44,17): error CS0021: Cannot apply indexing with [] to
> an expression of type `T'
>   
This issue has been already fixed in trunk

Regards,
Marek


More information about the Mono-devel-list mailing list