In case of async, try a different approach:
string name = null;
for( int i = 0; name == null; ++i )
{
StackFrame sf = new StackFrame( skipFrames: i, needFileInfo: false );
HttpGetAttribute a = sf.GetMethod( ).GetCustomAttribute<HttpGetAttribute>( );
name = a?.Template;
}
// name is "Statuses"