Fix potential crash for Encoder.Convert (#20522)
[mono-project.git] / mono / profiler / test-excleave.cs
blobb1d880ddf3bb54c3b4168531dd29d2a65a615ec6
1 using System;
3 class T {
5 static int f = 0;
6 static int c = 0;
7 static void throw_ex () {
8 try {
9 throw new Exception ();
10 } finally {
11 f++;
14 static void Main (string[] args) {
15 for (int i = 0; i < 1000; ++i) {
16 try {
17 throw_ex ();
18 } catch {
19 c++;