What would cause ReSharper to show "2 files with errors" next to the big red circle at the bottom right when there are in fact no errors, and the program compiles, and executes, cleanly with no warnings or errors?
The code in question is underlined in red, with the message "Only assignment, call, increment, decrement and new object expressions can be used as a statement, however, I've verified that it builds and executes cleanly, even on another machine. On a machine that does not have ReSharper installed, this code is not annotated in any way, and also builds and executes cleanly.
On both machines
Visual Studio 2008 version 9.0.30729.1 SP1
.NET Framework Vesion 3.5 SP1
On the machine with ReSharper
Windows XP SP2
ReSharper 4.1 Full Edition build 4.1.933.3
On the machine without Resharper
Windows XP SP3