I hope I am referring to the correct ReSharper feature when I say "Code Analysis".
var test = getTest();
ReSharper colors the component parts of that statement and squiggly underlines the "getTest" call because I haven't implemented it yet; I can then hit Alt-Enter or click on the lightbulb in the margin and can choose to allow ReSharper to stub out the function for me. That's great.
What gives? I have looked at the Generated Code setting in "Options | Code Inspection" but nothing there seems to pertain to this.
I have tried to uninstall ReSharper and restart the project (in case ReSharper didn't like the fact that my project was part way through). When I did that I noticed that one file that was created by me before ReSharper was installed and didn't show Code Analysis results did work with Code Analysis when I reinstalled ReSharper and re-created the file after the installation.
The same question was raised here http://youtrack.jetbrains.com/issue/RSRP-392614. Please look at comment from our developers.
Also you may refer to http://www.beabigrockstar.com/blog/cleanup-code-resharper-available - there is an explanation of such ReSharper behavior.
Hope it helps!