c# - Detect Usage of Specific Methods -


in visual studio know whether code in project uses methods. example, know "==" being used in string comparisons, have team rule ".equals" should used when comparing strings.

do tools exist accomplish goal?

given following code block

var x = "s" == "a"; var y = 1 == 2; var z = "a" == "b"; 

if right-click on first == , click find usage, following results. find usage of string ==

if right-click on second == , click find usage, tool-tip states this usage.

i'm not sure features has, there new free command-line version of resharper.

http://www.jetbrains.com/resharper/features/command-line.html


Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -