Resharper 4.0 Hangs on Microsoft Linq Samples

Resharper 4.0 C# Edition build 4.0.819.19
Visual Studio Version 9.0.21022.8 RTM

1) Down load the C# LinqSamples from Microsoft:

http://code.msdn.microsoft.com/csharpsamples/Release/ProjectReleases.aspx?ReleaseId=8

2) Open the LinqSamples.sln file in VisualStudio 2008

3) Open the file SampleQueries/LinqToSqlSamples.cs

4) Run CodeCleanup - "Full Cleanup"

Result: Takes 4 minutes to complete (too long)

5) Run cleanup a second time

Result: On my machine, the % complete remains at 65% until I kill the devenv.exe process

3 comments
Comment actions Permalink

This slowdown is even aparent just opening one of the large files -- it takes a couple of minutes for the RS scroll bar colored in.

However, of more concern is that cleaning up the Northwind* files introduces compile-time errors, mainly related to partial classes/methods. I understand that these are generated files, which normally should be left "as is", however the bugs introduced via cleanup would apply to manually written code also.

It looks like RS strips the "partial" modifier from classes that contain "partial" method declarations.

0
Comment actions Permalink

Thank you for the report

We've made tons of fixes/speed-ups in 4.0.1 (the upcomnig bugfix update),
and the analysis of complex LINQ expressions is now fast

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Jonathan Reis" <reis@stentor.com> wrote in message
news:7867916.24641213280963266.JavaMail.jive@app4.labs.intellij.net...

Resharper 4.0 C# Edition build 4.0.819.19
Visual Studio Version 9.0.21022.8 RTM

>

1) Down load the C# LinqSamples from Microsoft:

>

http://code.msdn.microsoft.com/csharpsamples/Release/ProjectReleases.aspx?ReleaseId=8

>

2) Open the LinqSamples.sln file in VisualStudio 2008

>

3) Open the file SampleQueries/LinqToSqlSamples.cs

>

4) Run CodeCleanup - "Full Cleanup"

>

Result: Takes 4 minutes to complete (too long)

>

5) Run cleanup a second time

>

Result: On my machine, the % complete remains at 65% until I kill the
devenv.exe process



0
Comment actions Permalink

Hello,

We appreciate your feedback. The corresponding JIRA request has been created,
and you are welcome to monitor its status at http://www.jetbrains.net/jira/browse/RSRP-72392.

You may want to check our request tracking policy here: http://www.jetbrains.net/confluence/display/ReSharper/ReSharperIssueTracker

Best regards,
- Development Team.


0

Please sign in to leave a comment.