Array arguments not shown correctly in tree view

5 posts, 1 answers
  1. Chris
    Chris avatar
    12 posts
    Member since:
    May 2011

    Posted 10 Jun 2011 Link to this post

    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.



  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 15 Jun 2011 Link to this post

    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 >>

  3. DevCraft banner
  4. Chris
    Chris avatar
    12 posts
    Member since:
    May 2011

    Posted 17 Jun 2011 Link to this post

    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
  5. Answer
    Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 17 Jun 2011 Link to this post

    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 >>

  6. Chris
    Chris avatar
    12 posts
    Member since:
    May 2011

    Posted 03 Jul 2011 Link to this post

    Hi,

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

    Regards,
    Chris
Back to Top
DevCraft banner