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:
authorMiguel de Icaza <miguel@gnome.org>2001-12-10 04:25:29 +0300
committerMiguel de Icaza <miguel@gnome.org>2001-12-10 04:25:29 +0300
commit5ba31c7e3a9928761c12e0a0280e86576ed8fb4d (patch)
treea11fab2c9c3b53ddea3643ecb8dc5fa2e7410a62 /mcs/errors/cs0157.cs
parenta22d7c9dfb4062a69c2d8de81c5b89506873508b (diff)
More errors that we catch
svn path=/trunk/mcs/; revision=1549
Diffstat (limited to 'mcs/errors/cs0157.cs')
-rwxr-xr-xmcs/errors/cs0157.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs0157.cs b/mcs/errors/cs0157.cs
new file mode 100755
index 00000000000..a56dd964da0
--- /dev/null
+++ b/mcs/errors/cs0157.cs
@@ -0,0 +1,12 @@
+// cs0157.cs: Control can not leave the body of a finally clause
+// Line: 9
+
+class X {
+ void A ()
+ {
+ try {
+ } finally {
+ return;
+ }
+ }
+}