Find Usages bug?

2 posts, 0 answers
  1. ZPKarol
    ZPKarol avatar
    1 posts
    Member since:
    May 2011

    Posted 03 Oct 2014 Link to this post

    Hi!

    I think I have found a bug in the "Find Usages" feature. I have the following code (sorry, cannot share actual assemblies)

    public abstract class Foo : IFoo
    {
      async Task IFoo.DoStuff(CancellationToken ct)
      {
        // Code, code
        await this.OnDoStuff(ct);
        // More code
      }

      protected virtual async Task OnDoStuff(CancellationToken ct)
      { }
    }

    I can navigate from DoStuff code to OnDoStuff code, but when I right-click on the OnDoStuff node in the left-hand pane and choose "Find Usages" menu item, JustDecompile reports that OnDoStuff is not used anywhere... I would expect it will tell me it is used by DoStuff.

    Can somebody confirm this?
  2. Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 06 Oct 2014 Link to this post

    Hello Karol,

    Thanks for the bug report. We've prepared a fix for "Find Usages" and it should be available in couple of weeks. We believe your case will be fixed so please stay tuned and let us know if after the update your case is still not working.

    Best regards,
    Vladi
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
Back to Top