Reflect latest API changes.
[mono.git] / mcs / errors / cs0619-20.cs
1 // cs0619.cs: 'ObsoleteException' is obsolete: ''
2 // Line: 15
3
4 using System;
5
6 [System.Obsolete("", true)]
7 class ObsoleteException: Exception {
8 }
9
10 class MainClass {
11         public void Method ()
12         {
13                 try {
14                 }
15                 catch (ObsoleteException) {
16                 }
17         }
18 }