Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-222693: Unresolved identifiers in Linq prevent quickfix that inserts "using System.Linq" from working

$
0
0
Reporter Andrey Simanovsky (ands) Andrey Simanovsky (ands)
Created Mar 3, 2011 1:26:18 AM
Updated Jan 23, 2012 11:10:18 PM
Resolved Jan 23, 2012 7:00:35 PM
Priority Normal
Type Bug
Fix versions 6.1
State Fixed
Assignee eugene legkiy (jenya.legkiy)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build 6.5.1.3201
Unresolved symbols in where clause prevent the quick fix that adds "using System.Linq;" from working.
When you do not have "using System.Linq;" in the following code you get a suggestion to import System.Linq over the group keyword. However, the quick fix always fails. If you remove the where clause that contains unresolved identifier it starts working.

// "resolving" is a resolving identifier of correct type
// "unresolved" is an unresolved identifier
from row in resolving
                            where unresolved
                            group row by row.Field<string>(0) into row2
                            select new { ColumnName = row2.Key }

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>