Add assert when dllmap is disabled and fix support build in netcore mode
[mono-project.git] / mono / tests / exception17.cs
blob2b61d113bd5c65f093b76232e5329b825e3004fa
1 using System;
3 public class main {
4 public static Exception exc;
6 public static void finaller () {
7 try {
8 throw exc;
9 } finally {
10 throw exc;
14 public static void catcher1 () {
15 try {
16 finaller ();
17 } catch (Exception) {
21 public static void catcher2 () {
22 try {
23 try {
24 throw exc;
25 } finally {
26 catcher1 ();
27 throw exc;
29 } catch (Exception) {
33 public static int Main () {
34 exc = new Exception ();
36 catcher1 ();
37 catcher2 ();
39 return 0;