Author |
Topic |
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jun 22 2008 : 7:55:10 PM
|
Having two projects with related code loaded, one in C# the other in VB, VAX gets confused about what to display in the definition bar: for the C# project it shows the function definition in VB syntax
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Jun 23 2008 : 09:39:08 AM
|
Which IDE are you using?
I am seeing something here, using VS2005 and VA 1640, but I am not actually sure if what I am seeing is right or wrong. In both C# and VB the definition field shows me:
System.Object GetValue(System.String, System.Object, Microsoft.Win32.RegistryValueOptions)
while I get a C# tooltip in C# and a VB tooltip in VB.
What are you seeing for GetValue in your VB code? |
zen is the art of being at one with the two'ness |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jun 23 2008 : 09:43:43 AM
|
VS2005 + latest SP. The tooltips are correct for both languages, the definition bar is wrong only for the C# code. |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Jun 23 2008 : 09:54:30 AM
|
In VB are you seeing:
System.Object GetValue(System.String, System.Object, Microsoft.Win32.RegistryValueOptions)
or are you actually seeing something different in the definition bar? That text makes sense to me, but it is not showing the parameter name so it does not match either the C# or the VB tooltip that I am seeing.
I am starting to wonder if I am seeing something quite different to you.
Which OS are you using? That might be a factor. |
zen is the art of being at one with the two'ness |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jun 23 2008 : 10:08:27 AM
|
Are you seeing my screenshot? Thats what i see here: Public Function GetValue(ByVal Index As Object, Optional ByVal DefaultValue As Object = Nothing) As Object
OS = WinXP |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Jun 23 2008 : 5:16:14 PM
|
I see one screen shot showing C# code. Are you seeing the same text in the definition field in VB? I never get that text, in either language. |
zen is the art of being at one with the two'ness |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jun 23 2008 : 5:20:30 PM
|
Yes, same text in the definition bar for both languages. |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Jun 24 2008 : 09:58:49 AM
|
I have put in a bug report including your screen shot and the results of my tests. I am not sure what to make of this, but hopefully it will make more sense to one of our developers.
case=17861 |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|