Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0619-20.cs
1 // CS0619: `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 }