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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2004-03-29 20:46:08 +0400
committerMarek Safar <marek.safar@gmail.com>2004-03-29 20:46:08 +0400
commitce6dfca587f29e770f3b3a13903f6de81fc26529 (patch)
treebb66b8de28dba6ec5d13ceddf781af2be030d21a /mcs/errors/cs0619-20.cs
parent4c611013876fb718d58df7bf64f230953eec3646 (diff)
2004-03-29 Marek Safar <marek.safar@seznam.cz>
* cs0029-3.cs, cs0173-2.cs, cs0619-{2-26}.cs, cs0672.cs: 29 new error tests. svn path=/trunk/mcs/; revision=24715
Diffstat (limited to 'mcs/errors/cs0619-20.cs')
-rw-r--r--mcs/errors/cs0619-20.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/errors/cs0619-20.cs b/mcs/errors/cs0619-20.cs
new file mode 100644
index 00000000000..d5d381bf668
--- /dev/null
+++ b/mcs/errors/cs0619-20.cs
@@ -0,0 +1,18 @@
+// cs0619.cs: 'ObsoleteException' is obsolete: ''
+// Line: 15
+
+using System;
+
+[System.Obsolete("", true)]
+class ObsoleteException: Exception {
+}
+
+class MainClass {
+ public void Method ()
+ {
+ try {
+ }
+ catch (ObsoleteException) {
+ }
+ }
+} \ No newline at end of file