Author |
Topic |
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jun 21 2006 : 5:43:38 PM
|
Using "Find Reference" on any operator does not return any results. Likewise, "Rename" on a operator does not work (ok, understandable, can be disabled?)
|
|
jpizzi
Tomato Guru
USA
642 Posts |
Posted - Jun 22 2006 : 01:16:34 AM
|
Rename method on operator overload:
case=1429
Find References on operator overload:
case=1430
Personally, I can see that both would be very hard to implement, so disabling the options would be appropriate. I can think of a case where the rename would be handy. But not a very common happenstance, IMO. |
Joe Pizzi |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jun 22 2006 : 07:57:30 AM
|
Fully agree. Makes not much sense to "rename" only. |
|
|
jpizzi
Tomato Guru
USA
642 Posts |
Posted - Jun 23 2006 : 11:43:19 PM
|
The example I thought of was if you wanted to change from an overloaded operator to a regular method. But, in such a case, I can see where, for example, looking at all "+" operations in the code to see which, if any, were the overload of the current operator+ that you have highlighted....
Not a pretty sight. |
Joe Pizzi |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jun 24 2006 : 07:58:44 AM
|
Exactly. Thats something i would not try to do by search/replace. |
|
|
|
Topic |
|