¡@

Home 

c# Programming Glossary: resharper

Virtual member call in a constructor

http://stackoverflow.com/questions/119506/virtual-member-call-in-a-constructor

member call in a constructor I'm getting a warning from ReSharper about a call to a virtual member from my objects constructor...

Formatting numbers with significant figures in C#

http://stackoverflow.com/questions/158172/formatting-numbers-with-significant-figures-in-c-sharp

this double a double b double epsilon DOUBLE_EPSILON ReSharper disable CompareOfFloatsByEqualityOperator if a b return true.. CompareOfFloatsByEqualityOperator if a b return true ReSharper restore CompareOfFloatsByEqualityOperator return System.Math.Abs.. this float a float b float epsilon FLOAT_EPSILON ReSharper disable CompareOfFloatsByEqualityOperator if a b return true..

What tools and techniques do you use to find dead code in .NET?

http://stackoverflow.com/questions/162641/what-tools-and-techniques-do-you-use-to-find-dead-code-in-net

the suggestions of others beyond tools like FxCop or ReSharper . Edit The reason for asking about tools other than FxCop or.. Edit The reason for asking about tools other than FxCop or ReSharper is that I want to make sure I'm not missing out on other tools..

Why does ReSharper want to use 'var' for everything?

http://stackoverflow.com/questions/1873873/why-does-resharper-want-to-use-var-for-everything

does ReSharper want to use 'var' for everything I've just started using ReSharper.. want to use 'var' for everything I've just started using ReSharper with Visual Studio after the many recommendations on SO . To..

Access to Modified Closure

http://stackoverflow.com/questions/235455/access-to-modified-closure

.GetManifestResourceStream files i ReSharper restore AccessToModifiedClosure The above seems to work fine..

Find unused code

http://stackoverflow.com/questions/245963/find-unused-code

c# .net refactoring share improve this question Yes ReSharper does this. Right click on your solution and selection Find Code..

Resharper: vars

http://stackoverflow.com/questions/296783/resharper-vars

this question It's just an option. You can disable it ReSharper Options Code Inspection Inspection Severity Code Redundencies.. option which will take you in each direction this is under ReSharper Options Languages C# Context Actions Replaces explicit type..

ReSharper conventions for names of event handlers

http://stackoverflow.com/questions/2994774/resharper-conventions-for-names-of-event-handlers

conventions for names of event handlers When I add new event.. for any event VS creates method like object_Click . But ReSharper underlines this method as Warning because all methods should.. any delimeters such as _ . How can I customize rules of ReSharper so that it doesn't underline such methods Or may be I should..

On postback, how can I check which control cause postback in Page_Init event

http://stackoverflow.com/questions/3175513/on-postback-how-can-i-check-which-control-cause-postback-in-page-init-event

and we need to iterate over the form collection to find it ReSharper disable TooWideLocalVariableScope string controlId Control foundControl.. string controlId Control foundControl ReSharper restore TooWideLocalVariableScope foreach string ctl in page.Request.Form..

What static analysis tools are available for C#? [closed]

http://stackoverflow.com/questions/38635/what-static-analysis-tools-are-available-for-c

project Agent Smith code style validation plugin for ReSharper Duplication Detection Simian based on source code. Works with..

Custom Brace formatting with Resharper

http://stackoverflow.com/questions/747351/custom-brace-formatting-with-resharper

share improve this question You can customize ReSharper to do just that you'll need to do the following All in ReSharper.. to do just that you'll need to do the following All in ReSharper Options C# Formatting Style In Braces Layout set Array and object..

ReSharper complains when method can be static, but isn't

http://stackoverflow.com/questions/790281/resharper-complains-when-method-can-be-static-but-isnt

complains when method can be static but isn't Why does ReSharper.. complains when method can be static but isn't Why does ReSharper complain when a method can become static but is not Is it because..

Which files in a Visual C# Studio project don't need to be versioned?

http://stackoverflow.com/questions/1644653/which-files-in-a-visual-c-sharp-studio-project-dont-need-to-be-versioned

improve this question Dont include bin obj .suo .user _Resharper if you have Resharper Include .sln .csproj share improve this..

Method can be made static, but should it?

http://stackoverflow.com/questions/169378/method-can-be-made-static-but-should-it

can be made static but should it Resharper likes to point out multiple functions per asp.net page that..

Access to Modified Closure

http://stackoverflow.com/questions/235455/access-to-modified-closure

1 ThinkFarAhead.Example.Settings.Configuration_Global.xml Resharper complains this is an access to modified closure for int i 0.. access to modified closure for int i 0 i files.Length i Resharper disable AccessToModifiedClosure if Array.Exists Assembly.GetExecutingAssembly..

Best Continuous Integration Setup for a solo developer (.NET) [closed]

http://stackoverflow.com/questions/264307/best-continuous-integration-setup-for-a-solo-developer-net

that I can run on my laptop along with Visual Studio Resharper. I'm obviously looking at all the big names like CruiseControl..

Invert “if” statement to reduce nesting

http://stackoverflow.com/questions/268132/invert-if-statement-to-reduce-nesting

&ldquo if&rdquo statement to reduce nesting When I ran Resharper on my code for example if some condition some code... Resharper.. on my code for example if some condition some code... Resharper gave me the above warning Invert if statement to reduce nesting..

Resharper: vars

http://stackoverflow.com/questions/296783/resharper-vars

vars Why does Resharper want you to change most variables to.. vars Why does Resharper want you to change most variables to var type instead of the..

the type or namespace name could not be found

http://stackoverflow.com/questions/4764978/the-type-or-namespace-name-could-not-be-found

reference I've tried the following to resolve this Removed Resharper since Resharper had no trouble recognizing the referenced project.. the following to resolve this Removed Resharper since Resharper had no trouble recognizing the referenced project I thought..

The art of programming: Java vs C# [closed]

http://stackoverflow.com/questions/610199/the-art-of-programming-java-vs-c-sharp

the realm of code refactoring where Visual Studio without Resharper is still lagging far behind Intellij Eclipse and possibly even..

Custom Brace formatting with Resharper

http://stackoverflow.com/questions/747351/custom-brace-formatting-with-resharper

Brace formatting with Resharper I'm using Resharper 4.5 and I need custom formatting of braces.. Brace formatting with Resharper I'm using Resharper 4.5 and I need custom formatting of braces when writing an array.. of braces when writing an array or object initializer. Resharper supports some styles closing of what I need is this Gnu Style..

What is your favorite use of Resharper? [closed]

http://stackoverflow.com/questions/76499/what-is-your-favorite-use-of-resharper

is your favorite use of Resharper closed I've been trying resharper casually for about a week.. the expense of my code behind and dlls and such. What is Resharper best at what justifies its cost Your answers will help whet.. cost Your answers will help whet my appetite for further Resharper delving. Thanks people c# resharper share improve this question..

Handling warning for possible multiple enumeration of IEnumerable

http://stackoverflow.com/questions/8240844/handling-warning-for-possible-multiple-enumeration-of-ienumerable

in need to use a IEnumerable several times thus get the Resharper error of Possible multiple enumeration of IEnumerable . Sample..

Virtual member call in a constructor

http://stackoverflow.com/questions/119506/virtual-member-call-in-a-constructor

would this be something not to do c# constructor warnings resharper virtual functions share improve this question Assuming you're..

ReSharper Warning - Access to Modified Closure [duplicate]

http://stackoverflow.com/questions/1688465/resharper-warning-access-to-modified-closure

This seems downright wacky to me. c# resharper warnings share improve this question The reason for the..

Method can be made static, but should it?

http://stackoverflow.com/questions/169378/method-can-be-made-static-but-should-it

and move them to a utility class c# .net refactoring resharper static methods share improve this question Static methods..

Why does ReSharper want to use 'var' for everything?

http://stackoverflow.com/questions/1873873/why-does-resharper-want-to-use-var-for-everything

and whether it's of benefit or not. c# .net visual studio resharper var share improve this question One reason is improved readability...

Access to Modified Closure

http://stackoverflow.com/questions/235455/access-to-modified-closure

The above seems to work fine though resharper complains that this is access to modified closure . Can any.. on this Thanks in advance. this topic continued here c# resharper closures share improve this question In this case it's okay..

Invert “if” statement to reduce nesting

http://stackoverflow.com/questions/268132/invert-if-statement-to-reduce-nesting

if they contradicted each other.... . Thanks everyone c# resharper share improve this question A return in the middle of the..

Resharper: vars

http://stackoverflow.com/questions/296783/resharper-vars

var type instead of the actual type in the code c# .net resharper share improve this question It's just an option. You can..

ReSharper conventions for names of event handlers

http://stackoverflow.com/questions/2994774/resharper-conventions-for-names-of-event-handlers

may be I should rename such methods Thanks in advance. c# resharper share improve this question Personally I'd suggest renaming..

Access to Modified Closure (2)

http://stackoverflow.com/questions/304258/access-to-modified-closure-2

be ok if the list is run through more than once c# .net resharper closures share improve this question Prior to C# 5 you need..

C# 'var' keyword versus explicitly defined variables [duplicate]

http://stackoverflow.com/questions/429446/c-sharp-var-keyword-versus-explicitly-defined-variables

than using a dynamic is more optimal. c# performance resharper share improve this question So is there some sort of performance..

overhead to unused “using” declarations?

http://stackoverflow.com/questions/641234/overhead-to-unused-using-declarations

&ldquo using&rdquo declarations I've just installed resharper and it's letting me know the namespaces i'm not actually using..

Custom Brace formatting with Resharper

http://stackoverflow.com/questions/747351/custom-brace-formatting-with-resharper

1 2 3 Is there any way to customize this templates c# resharper share improve this question You can customize ReSharper..

What is your favorite use of Resharper? [closed]

http://stackoverflow.com/questions/76499/what-is-your-favorite-use-of-resharper

is your favorite use of Resharper closed I've been trying resharper casually for about a week without delving into it too deeply... appetite for further Resharper delving. Thanks people c# resharper share improve this question Navigation Features Ctrl N Goto..

ReSharper complains when method can be static, but isn't

http://stackoverflow.com/questions/790281/resharper-complains-when-method-can-be-static-but-isnt

is created on the type and thus save on performance c# resharper static methods share improve this question I find that comment..

Handling warning for possible multiple enumeration of IEnumerable

http://stackoverflow.com/questions/8240844/handling-warning-for-possible-multiple-enumeration-of-ienumerable

you do in this scenario c# .net asp.net mvc performance resharper share improve this question The problem with taking IEnumerable..

The current SynchronizationContext may not be used as a TaskScheduler

http://stackoverflow.com/questions/8245926/the-current-synchronizationcontext-may-not-be-used-as-a-taskscheduler

welcome. c# multithreading nunit task parallel library resharper 6.0 share improve this question You need to provide a SynchronizationContext...

LINQ: Not Any vs All Don't

http://stackoverflow.com/questions/9027530/linq-not-any-vs-all-dont

ReSharper is leading me astray c# performance linq resharper share improve this question Implementation of All according..

ReSharper - Possible Null Assignment when using Microsoft.Contracts

http://stackoverflow.com/questions/929859/resharper-possible-null-assignment-when-using-microsoft-contracts

Restart Visual Studio and the message goes away c# resharper code contracts design by contract microsoft contracts share..