[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs8177.cs
blob414ece1b4bed6820210c6ad76cc782180212ff5e
1 // CS8177: Async methods cannot use by-reference variables
2 // Line: 12
4 using System.Threading.Tasks;
6 class X
8 int x;
10 async Task Test ()
12 ref int y = ref x;
13 await Task.Yield ();