Remove invalid tests for image palettes in GdiPlusTest (#5671)
[mono.git] / mcs / errors / cs4015.cs
1 // CS4015: `C.SynchronousCall(int)': Async methods cannot use `MethodImplOptions.Synchronized'
2 // Line: 9
3
4 using System.Threading.Tasks;
5 using System.Runtime.CompilerServices;
6
7 class C
8 {
9         [MethodImplAttribute(MethodImplOptions.Synchronized)]
10         public static async Task SynchronousCall (int arg)
11         {
12                 await Task.FromResult (1);
13         }
14 }