By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,462 Members | 1,498 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,462 IT Pros & Developers. It's quick & easy.

How to delete all function calls

P: n/a
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
Jan 31 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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.

"Anand Ganesh" <ag*****@nobel-systems.comwrote in message
news:e%****************@TK2MSFTNGP03.phx.gbl...
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

Jan 31 '07 #2

P: n/a
Thanks Marina. I will try the second option as this takes parameter which
will be different everywhere.

Regards
Anand Ganesh

"Marina Levit [MVP]" <ma*****@comcast.netwrote in message
news:5I******************************@comcast.com. ..
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.

"Anand Ganesh" <ag*****@nobel-systems.comwrote in message
news:e%****************@TK2MSFTNGP03.phx.gbl...
>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


Jan 31 '07 #3

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

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Anand Ganesh" wrote:
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
Feb 1 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.