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