I have the following code: public double CalculateDailyProjectPullForceMax(DateTime date, string start = null, string end = null) { Log("Calculating Daily Pull Force Max..."); var pullForceList = start == null...
When I ran ReSharper on my code, for example: if (some condition) { Some code... } ReSharper gave me the above warning (Invert “if” statement to reduce nesting), and...
I have a problem with Visual Studio on a C# solution. It displays totally random errors, but the projects build. Right now, I have 33 files with errors, and...
string files = new string[2]; files[0] = "ThinkFarAhead.Example.Settings.Configuration_Local.xml"; files[1] = "ThinkFarAhead.Example.Settings.Configuration_Global.xml"; //Resharper complains this is an "access to modified closure" for (int i = 0; i < files.Length;...
I installed ReSharper, and it works in Visual Studio, but how can I disable it? Whenever I search in the ReSharper menu, I can’t find a disable option. 13...
In my code I need to use an IEnumerable<> several times, resulting in the ReSharper error of “Possible multiple enumeration of IEnumerable“. Sample code: public List<object> Foo(IEnumerable<object> objects) {...
ReSharper likes to point out multiple functions per ASP.NET page that could be made static. Does it help me if I do make them static? Should I make them...
I’m getting a warning from ReSharper about a call to a virtual member from my objects constructor. Why would this be something not to do? 1 18 In order...