1 // CS8178: `await' cannot be used in an expression containing a call to `X.this[int]' because it returns by reference
4 using System.Threading.Tasks;
12 Foo (ref this [await Task.FromResult (1)]);
15 ref int this [int arg] => ref x;
17 static void Foo (ref int arg)