Referenced Answer: https://stackoverflow.com/a/4047607/347172
Basically, since the compiler is creating a state machine that uses recursion, is it possible that a class that has "too many" await
s will cause the compiler to generate code that will throw an exception?
Not in the way you're thinking. The compiler creates a state machine that will schedule itself, not call itself. The scheduling creates a "trampoline" which resets the stack.