mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
23 lines
307 B
C#
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;
|
|
}
|
|
}
|