How to make calls from PublicAPI code themselves maked as used

Trying to do a bit of code cleanup. I have a lot of [PublicAPI] marked code in my WebServices class. Those methods are properly flagged as "in use" by Resharper. But methods called from within those webservices are themselves still marked as "Method is never used". I dont want to have to attribute flag all my classes and methods. Can't ReSharper be aware of in use methods a bit deeper than the first level?

public class myWebServices : System.Web.Services.WebService
{
  [PublicAPI]
// This does no get flagged as "not in use": GOOD
  public void MyTestWebService()
  {
    var a = new MyClass();
    a.Test();
  }
}
public class MyClass
{
// This gets flagged as "not in use": BAD
public void Test()
{
}
}

Please sign in to leave a comment.