Exactly follows the design of AsyncStateMachineAttribute and IteratorStateMachineAttribute; the only thing different is the type name, "AsyncIterator" instead of "Async" and "Iterator". Commit migrated from https://github.com/dotnet/coreclr/commit/0f56562f58398b45e9b9ab4419e65cc0adffd6a5