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

Find Usages bug?

1 Answer 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ZPKarol
Top achievements
Rank 1
ZPKarol asked on 03 Oct 2014, 08:34 PM
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?

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 06 Oct 2014, 01:44 PM
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.

 
Tags
General Discussions
Asked by
ZPKarol
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or