[mcs] New property/indexer cannot have accessors implementing an interface in base...
[mono.git] / mcs / errors / cs0155-2.cs
1 // CS0155: The type caught or thrown must be derived from System.Exception
2 // Line: 8
3 class X {
4         static void Main ()
5         {
6                 try {
7                 } catch (object e) {
8                         throw;
9                 }
10         }
11 }