1 // CS4015: `C.SynchronousCall(int)': Async methods cannot use `MethodImplOptions.Synchronized'
4 using System
.Threading
.Tasks
;
5 using System
.Runtime
.CompilerServices
;
9 [MethodImplAttribute(MethodImplOptions
.Synchronized
)]
10 public static async Task
SynchronousCall (int arg
)
12 await Task
.FromResult (1);