linux-packaging-mono/mcs/tests/test-async-88.cs
Xamarin Public Jenkins (auto-signing) 804b15604f Imported Upstream version 4.6.0.182
Former-commit-id: 439c182e520038bf50777ca2fe684f216ae28552
2016-09-01 10:46:18 +00:00

29 lines
335 B
C#

using System;
using System.Threading.Tasks;
public class Test
{
static async Task<string> AsyncWithDeepTry ()
{
try {
await Task.Yield ();
try {
await Task.Yield ();
} catch {
}
} catch {
await Task.Yield ();
} finally {
}
return null;
}
static void Main ()
{
AsyncWithDeepTry ().Wait ();
}
}