Home All Groups Group Topic Archive Search About

Auto clean up code removed from event?

Author
6 Apr 2005 6:00 PM
Brett
Is there a way to have VS.NET 2003 clean up unused events?  For example,
Delphi has a nice feature in that it will remove unused event code if you
take your own code out of that event.  Is there something like this for
VS.NET?

Thanks,
Brett

Author
7 Apr 2005 8:20 AM
Richard Myers
No but if you're taking your own code out then why not just take the whole
method out as well?

Show quoteHide quote
"Brett" <no@spam.com> wrote in message
news:OPZOzLtOFHA.4052@TK2MSFTNGP12.phx.gbl...
> Is there a way to have VS.NET 2003 clean up unused events?  For example,
> Delphi has a nice feature in that it will remove unused event code if you
> take your own code out of that event.  Is there something like this for
> VS.NET?
>
> Thanks,
> Brett
>
>
Author
7 Apr 2005 10:24 AM
Brett
Isn't that currently the only way to do it?  Maybe I'm missing your point.

Brett

Show quoteHide quote
"Richard Myers" <f***@address.com> wrote in message
news:uUUDjt0OFHA.3668@TK2MSFTNGP14.phx.gbl...
> No but if you're taking your own code out then why not just take the whole
> method out as well?
>
> "Brett" <no@spam.com> wrote in message
> news:OPZOzLtOFHA.4052@TK2MSFTNGP12.phx.gbl...
>> Is there a way to have VS.NET 2003 clean up unused events?  For example,
>> Delphi has a nice feature in that it will remove unused event code if you
>> take your own code out of that event.  Is there something like this for
>> VS.NET?
>>
>> Thanks,
>> Brett
>>
>>
>
>