Archive

Posts Tagged ‘Members’

Code Issues of the dead code type for members and blocks

October 18th, 2012 Comments off

Here are several of the code issues, which highlight redundant and unnecessary code blocks that may be safely removed for improving code readability.

Read more…

Code Issues hints for types and members

September 28th, 2012 Comments off

Here are the suggestions (hints) code issues which might improve the readability, clarity and performance of your source code.

Read more…

Quick Navigation inside Visual Studio using CodeRush

September 27th, 2012 1 comment

The Quick Navigation feature allows you to find any code members inside your solution, such as classes, interfaces, structures, enumerations, delegates, methods, properties, events, fields locals and parameters. Once you hit the Ctrl+Shift+Q shorcut, the simplified Quick Navigation window will appear by default:

CodeRush Quick Navigation Default Window

Read more…

Refactorings for changing member signatures overview

August 9th, 2012 Comments off

This is just a quick list to organize a bunch of refactorings that change member signatures. Click the refactoring name to learn more about it.

Add Parameter

The refactoring adds a new parameter to a method declaration and updates all calls accordingly. This refactoring is useful when you need to quickly add a new parameter to an existing method because it needs more information from its caller that wasn’t passed in before.

Read more…

Refactorings for changing members accessibility and scope visibility

February 13th, 2012 Comments off

There are a couple of visibility-changing refactorings shipped in DevExpress Refactor! Pro.

Reduce Visibility

This refactoring allows you to quickly reduce the visibility of a member to match the highest calling visibility, in other words, to restrict the visibility as much as possible.

Read more…

Code issues specific to declaring members

December 27th, 2011 Comments off

One of the goals of the Code Issues technology is to help you find mistakes when coding before compiling. This increases the coding speed and allows you to save time in the future when dialing with those mistakes. Let’s take a look at code issues CodeRush provides specific to declaring members:

Read more…

Code Issues – Member is not implemented

October 31st, 2011 Comments off

Cause:

The Member is not implemented code issue of the warning type is shown for the members that do not provide an implementation. Not providing an implementation may be a sign of incomplete code.

The code issue is shown for non-interface, non-abstract, non-virtual, non-extern members – both methods and properties. It is not shown for constructors and destructors of a class.

Read more…

Refactorings to convert between static and instance members

October 31st, 2011 Comments off

Classes allow you to create instance members and static members. Instance members are available when an instance of the class is created and have access to the object’s data. Static members do not require an object created and can be called directly.

Static methods are useful when creating functions that are not reliant on any instance of a class. An example of the extensive use of static members is the System.Math class, which is a library of mathematical functions and constants provided by the .NET framework.

Read more…