Files
linux-packaging-mono/mcs/errors/cs0156.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

18 lines
234 B
C#

// CS0156: 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 {
}
}
}