Generics have wrong error highlighted

In this code:

IList columns = new List]]>();
columns.Add("BusinessKey");
columns.Add("BusinessName");

Resharper errornously underlines in red "BusinessKey" and "BusinessName"
saying that a conversion of "String" to "TKey" is invalid. Are
generics supposed to be working yet?

Thanks,
-Greg

1 comment
Comment actions Permalink

Generics are supported but as we almost did not test that there is a number
of issues with this support. We plan to fix all them in the nearest future
and reporting the issues will make fixing them faster. Please report all
such issues into the tracker and we will fix them shortly.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

In this code:

IList<string> columns = new List<string>();
columns.Add("BusinessKey");
columns.Add("BusinessName");
Resharper errornously underlines in red "BusinessKey" and
"BusinessName"
saying that a conversion of "String" to "TKey" is invalid. Are
generics supposed to be working yet?
Thanks,
-Greg



0

Please sign in to leave a comment.