This is a migrated thread and some comments may be shown as answers.

Array arguments not shown correctly in tree view

4 Answers 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 10 Jun 2011, 09:50 PM
Left tree view does not show array arguments correctly in function signatures.

Looking at mscorlib, System.Collections.BitArray the constructors which take arrays do not show the argument types correctly
eg.
public BitArray(byte[] bytes)

is shown as

.ctor(System.Byte) (System.Void)

The same happens for the other constructors which accept arrays.



4 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 15 Jun 2011, 11:33 AM
Hello Chris,

Thanks for the note. Actually the second value in the parentheses represents the return type itself. We will consider some improvements for this particular case. Let us know if you have any other suggestions or remarks.

Kind regards,
Kaloyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Chris
Top achievements
Rank 1
answered on 17 Jun 2011, 11:54 AM
Hi,

Thank you for the response.

Just to clarify, I was not referring to the type shown in the second parentheses. The constructor arguments are not correct if the argument type is an array. The fact that the constructor is showing a return type of void is a non-issue, but finding an overload based on argument types is more of an issue

So, in the example I provided

This constructor
public BitArray(byte[] bytes)

Is shown as
.ctor(System.Byte) (System.Void)

It should be
.ctor(System.Byte[]) (System.Void)

Btw. this is not only for constructor arguments, this was just the scenario in which I picked up the issue.

Regards,
Chris
0
Accepted
Kaloyan
Telerik team
answered on 17 Jun 2011, 12:09 PM
Hello Chris,

Thanks for  the clarification. The fix is included in this Friday internal update. Let us know if you have any other suggestions or remarks that will improve the product quality. 

All the best,
Kaloyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Chris
Top achievements
Rank 1
answered on 03 Jul 2011, 08:57 AM
Hi,

Thank you, I just checked the latest update and am happy to see that the problem has been resolved.

Regards,
Chris
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Chris
Top achievements
Rank 1
Share this question
or