[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs4015.cs
blob6e0cb59dd7780a0efc6b759939e1aafcd0c20ce9
1 // CS4015: `C.SynchronousCall(int)': Async methods cannot use `MethodImplOptions.Synchronized'
2 // Line: 9
4 using System.Threading.Tasks;
5 using System.Runtime.CompilerServices;
7 class C
9 [MethodImplAttribute(MethodImplOptions.Synchronized)]
10 public static async Task SynchronousCall (int arg)
12 await Task.FromResult (1);