Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0619-20.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d5d381bf6686e2250515f9c25e57f2ef39326a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// cs0619.cs: 'ObsoleteException' is obsolete: ''
// Line: 15

using System;

[System.Obsolete("", true)]
class ObsoleteException: Exception {
}

class MainClass {
        public void Method ()
        {
                try {
                }
                catch (ObsoleteException) {
                }
        }
}