[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs4011-4.cs
blobedb71ee0b574942157873cd4e2826fd162bed15a
1 // CS4011: The awaiter type `A' must have suitable IsCompleted and GetResult members
2 // Line: 16
4 static class S
6 public static A GetAwaiter (this int i)
8 return new A ();
12 class A
14 bool IsCompleted {
15 get {
16 return true;
20 void OnCompleted (System.Action a)
24 static async void Test ()
26 await 9;