Files
mono/mcs/errors/cs1985.cs
T

23 lines
307 B
C#

// CS1985: The `await' operator cannot be used in the body of a catch clause
// Line: 13
// Compiler options: -langversion:future
using System;
using System.Threading.Tasks;
class C
{
public async Task Test ()
{
try {
} catch {
await Call ();
}
}
static Task Call ()
{
return null;
}
}