Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git] / mcs / errors / cs4004-2.cs
blob474e3899d5f3d8d64ab73c8db68ed7d4caec8386
1 // CS4004: The `await' operator cannot be used in an unsafe context
2 // Line: 12
3 // Compiler options: -unsafe
5 using System;
6 using System.Threading.Tasks;
8 unsafe class C
10 public async Task Test ()
12 await Call ();
15 static Task Call ()
17 return null;