Unimplemented form of generic method parameter: 'TKey'

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
Beluvius
Posts: 5
Joined: Wed Oct 21, 2015 12:25 am

Unimplemented form of generic method parameter: 'TKey'

Postby Beluvius » Wed Dec 16, 2015 7:28 am

A strange compiler error during the testing of my own GroupBy method (to work around the missing GroupBy in Linq). Attached is a zip file containing a Visual studio 2013 solution and a small example. Build it to see the error.

Now open the MainPage.xaml.cs and uncomment line 36 and comment line 38. It now compiles and runs fine. In my opinion the two lines are identical with respect to resolving types T and TKey (the call is the same in the rest of the code).
Attachments
UnimplementedFormGenerics.zip
(8.51 KiB) Downloaded 386 times

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 32 guests

 

 

cron