Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi,

I used the function (right click on your code, Refactor >> Extract Methods) for refactoring my code. How can I adjust my new method? I can't find my code back.

Thanks in advance
Posted
Updated 26-Mar-11 8:42am
v2

1 solution

Look properly. Your method is there; I'll guarantee that. :-)

This refactoring method works properly. It might change nothing in your code, but in this case Visual Studio shows a dialog box message explaining why you current selection does not indicate a fragment of code which can be refactored in this way. Again, read properly.

—SA
 
Share this answer
 
v2
Comments
Member 7762422 26-Mar-11 18:04pm    
Thanks, it did'nt appear directly. Maybe because I had allot of code in one class. I have found it ;-)
Sergey Alexandrovich Kryukov 26-Mar-11 18:53pm    
It means I was right.
Are you going to formally accept my Answer? It will be fair enough.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900