4.1 - Cannot Resolve symbol "group"

RS is marking a valid LINQ query as having an error in it:

Dim newList = From foo In fooList _
Group foo.Value1, foo.Value2 By key = foo.Value1 Into Group _
Select key, Group


The second and third Group keywords are both marked as errors by RS. I don't know if this is an error specific to VB, or if it's in the C# version as well (I don't have a RS C# license, so don't have an easy way to test it).

I searched for this in the forums and couldn't find anything. My apologies if it's already been mentioned.

2 comments

Hello,

RS is marking a valid LINQ query as having an error in it:

Dim newList = From foo In fooList _
Group foo.Value1, foo.Value2 By key =
foo.Value1 Into Group _
Select key, Group


R# v4 / v4.1 support for the new Basic language features is not complete
(unlike the C# 3 thing). The forthcoming v4.5 is targeting this issue, among
others. The early preview builds will be out this autumn. As you're
working with the new lanugage features, they could be interesting for you.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0

Thanks, Serge. I'll keep my eyes peeled for 4.5 news.

0

Please sign in to leave a comment.