Quantcast
Viewing all articles
Browse latest Browse all 106942

RSRP-462298: Analysis is switched off on large source files in 2016.3

Reporter Image may be NSFW.
Clik here to view.
Howard Brooks (hbroo)
Howard Brooks (hbroo)
Created Dec 19, 2016 9:22:07 PM
Updated Apr 11, 2018 4:41:52 PM
Subsystem Solution Wide Error Analysis (SWEA)
Assignee Dmitry Ivanov (daivanov)
Priority Critical
State Submitted
Type Bug
Fix version 2017.2
Affected versions 2016.3
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
We use ReSharper on a very large solution (100+ projects). Some of the source files are very large (tens of thousands of lines). Since updating to 2016.3 code analysis no longer works on our larger source files. When these files are opened no analysis is performed; the status indicator at the top of the scrollbar is not visible and attempting to navigate to inspections (e.g. via alt-page up/page down) displays the message "Analysis is switched off". If I remove enough lines from the file then analysis will be available again.

I believe this may also be causing spurious "Type or Member is never used" and similar solution wide analysis errors because the contents of large files are not completely analyzed.

Attached is source code for a simple console application which demonstrates the problem.

Viewing all articles
Browse latest Browse all 106942

Trending Articles