Problems with Refactoring in C# 2005

G

Guest

If a variable name is changed and then the intellisense tool tip from
"Options to update references to the renamed object" -> "Rename "x" to "y"
any XML based comments made for the variable will not be changed, for example
(using C# 2005 beta 2):

<param name="x">nothing</param>
public double foo(double x)
{ return 2*x }

renamed would result in:


<param name="x">nothing</param>
public double foo(double y)
{ return 2*y }

Please excuse any errors in explanation or coding as I am a beginning
programmer.

Thank you for reading this and if there is a better place to post these
types of comments, please direct me
 
N

Nicholas Paldino [.NET/C# MVP]

Ben,

To report bugs for VS.NET 2005, you can go to:

http://lab.msdn.microsoft.com/productfeedback/default.aspx

This is tied into the bug system at MS, so it will get reviewed.

As for your particular issue, there is a checkbox on the dialog box that
comes up that says "Search in comments". Make sure this is checked, and the
XML documentation will be updated as well. As a matter of fact, someone
posted this as a bug on the site referenced above:

http://lab.msdn.microsoft.com/produ...edbackid=994916de-3819-4630-a342-7749c4a79517

Hope this helps.
 
G

Guest

Nicholas,

Thank you for your redirection, and I appreciate you for not getting
frusterated at the incorrect location of my bug report.

Ben

Nicholas Paldino said:
Ben,

To report bugs for VS.NET 2005, you can go to:

http://lab.msdn.microsoft.com/productfeedback/default.aspx

This is tied into the bug system at MS, so it will get reviewed.

As for your particular issue, there is a checkbox on the dialog box that
comes up that says "Search in comments". Make sure this is checked, and the
XML documentation will be updated as well. As a matter of fact, someone
posted this as a bug on the site referenced above:

http://lab.msdn.microsoft.com/produ...edbackid=994916de-3819-4630-a342-7749c4a79517

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Ben Enfield said:
If a variable name is changed and then the intellisense tool tip from
"Options to update references to the renamed object" -> "Rename "x" to "y"
any XML based comments made for the variable will not be changed, for
example
(using C# 2005 beta 2):

<param name="x">nothing</param>
public double foo(double x)
{ return 2*x }

renamed would result in:


<param name="x">nothing</param>
public double foo(double y)
{ return 2*y }

Please excuse any errors in explanation or coding as I am a beginning
programmer.

Thank you for reading this and if there is a better place to post these
types of comments, please direct me
 

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