mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
18 lines
237 B
C#
18 lines
237 B
C#
// cs0156.cs: A throw statement with no arguments is not allowed outside of a catch clause
|
|
// Line: 12
|
|
|
|
using System;
|
|
|
|
class Foo
|
|
{
|
|
static void Main ()
|
|
{
|
|
try {
|
|
Console.WriteLine ("Test cs0156");
|
|
throw;
|
|
}
|
|
catch {
|
|
}
|
|
}
|
|
}
|