public IEnumerable<int> Foo() { yield return 1; }
Try to extract the only statement in the method. Result: non-compilable code. Expected result: compilable code.