How to delete all function calls

A

Anand Ganesh

Hi All,

I want to remove a function from my solution.

But there are more than 100 calls made to that function.

I just want to remove (delete) all such calling statements from my code.

Is there a easy to do this is visual studio IDE?

Thanks for your help.

Regards
Anand Ganesh
 
M

Marina Levit [MVP]

If it doesn't take any parameters, you could replace the function call with
empty string. If it takes parameters, I think you may have to go and delete
it all manually. I don't think this should take more then a few minutes
though.
 
A

Anand Ganesh

Thanks Marina. I will try the second option as this takes parameter which
will be different everywhere.

Regards
Anand Ganesh
 
G

Guest

Why not have the method throw a "not implemented" exception?
callers will get the message very quickly.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top