-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
area-VM-coreclrruntime-asyncuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Description
I got a bit confused by the naming and comments here
Hopefully I understand it correctly now, but if not please correct me. It appears we are using the term "Task Returning" to mean different things in different places:
AsyncMethodKind.TaskReturning - The MethodDesc variant whose entrypoint returns a task and it corresponds to a C# method not marked with the MethodImpl::Async attribute.
// Task-returning methods - Any C# method returning a Task regardless if it has the MethodImpl::Async attribute
I think if you renamed AsyncMethodKind.TaskReturning -> AsyncMethodKind.CompilerAsync it would remove the naming collision and it would also contrast nicely: RuntimeAsync vs CompilerAsync.
Metadata
Metadata
Assignees
Labels
area-VM-coreclrruntime-asyncuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner