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

RSRP-288210: Resharper intellisence does not work with extension methods and expressions as parameters

$
0
0
Reporter Ventsislav Mladenov (Ventsislav.Mladenov) Ventsislav Mladenov (Ventsislav.Mladenov)
Created Feb 8, 2012 9:11:12 PM
Updated Feb 8, 2012 9:11:12 PM
Priority Normal
Type Unspecified
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Hi,
I'm using entity framework and I have wrote my custom extension method for tables expand.
public static ObjectQuery<TSource> Include<TSource, TPropType>(this ObjectSet<TSource> objectSet, Expression<Func<TSource, TPropType>> propertySelector) where TSource : class
{
string expandString = BuildString(propertySelector);
    return objectSet.Include(expandString)
;
}
from g in cntx.Groups.Include(g => g.Users)

The class Group has property Users but the resharper's intellisence does not give me any suggestions when I write "g."
If I use Visual Studio 2010 intellisence it gives me Group properties.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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