Incorrect Decompile Syntax

2 posts, 0 answers
  1. Russ
    Russ avatar
    49 posts
    Member since:
    Sep 2006

    Posted 06 Jul 2012 Link to this post

    The following is generated for the Function FindChildByText in ControlItemContainer of Telerik.Web.UI:
    Protected Friend Function FindChildByText(Of TControlItem)(ByVal text As String, ByVal ignoreCase As Boolean) As RadMenuItem
        Return Me.FindChild(Of TControlItem)(Function(Dim item As TControlItem)
        String.Compare(item.Text, text, ignoreCase) = 0End Function
        )
    End Function

    Should be:

    Protected Friend Function FindChildByText(Of TControlItem)(ByVal text As String, ByVal ignoreCase As Boolean) As RadMenuItem
        Return Me.FindChild(Of TControlItem)(Function(item As TControlItem) String.Compare(item.Text, text, ignoreCase) = 0)
    End Function
  2. Nikolay G Rusev
    Admin
    Nikolay G Rusev avatar
    44 posts

    Posted 10 Jul 2012 Link to this post

    Hi Russ,

     Thanks for pointing out this problem. We've logged it, so it should be fixed in some of our forthcoming releases.

    Regards,
    Nikolay G Rusev
    the Telerik team

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

  3. DevCraft banner
Back to Top