Re: Finding "not used methods"

Tech-Archive recommends: Fix windows errors by optimizing your registry




If I remember right, FxCop includes a check for uncalled methods - and
it's free :)



Mark R. Dawson wrote:
> Hi Anders,
> if you are using Visual Studio then I would recomend a plugin called
> ReSharper http://www.jetbrains.com/resharper/ it can be used for refactoring
> and will highlight methods, variables, namespace imports that are not used
> anywhere in the code. I find it very useful.
>
> Hope that helps
> Mark R Dawson
>
> "Anders K. Jacobsen [DK]" wrote:
>
> > Hey
> >
> > I have been givin the job the extend an asp.net c# application with and
> > extensive but very poor documented business layer. There are aprox 1200
> > methods like: FindAvailAmount, GetAllEmployee etc.
> >
> > But as far as I can see many of the methods aint ever used. Is there a way
> > to traverse the layer and name methods that never called from any location
> > in the source code?
> >
> > Looking forward to your suggestion
> > Anders
> >
> >
> >

.



Relevant Pages

  • RE: Threads.
    ... "Mark R. Dawson" wrote: ... > you can use Revents to indicate that all worker threads have finished ... > Here is an example of three worker threads being run by the main UI thread, ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: WinForm Resize
    ... "Mark R. Dawson" wrote: ... > visual redraw when you resize the form. ... >> When I resize de window by dragging it's border it is very slow to rearrange ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: int to string
    ... Mark R. Dawson wrote: ... This works because the IL code generated by the compiler is calling String.Concat(object, obect) ... which internally will call the ToString() method on both the object parameters, therefore returning a string from the i integer instance. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: XML Help
    ... Thanks alot Mark. ... Mark R. Dawson wrote: ... > Hi Baggy, ... >> I need help retrieving the value of node. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Cannor capture DEL key in DataGrid event
    ... Many thanks to you for your kind assistance Mark. ... "Mark R. Dawson" wrote: ... > class MyDataGrid: DataGrid ... > protected override bool ProcessCmdKey(ref Message msg, Keys keyData) ...
    (microsoft.public.dotnet.languages.csharp)