[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs4004.cs
blob7e88a0ff71e5296167856cdffeb62f6cde2c0440
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 class C
10 public async Task Test ()
12 unsafe {
13 await Call ();
17 static Task Call ()
19 return null;