[runtime] Synthesize IList and IReadOnlyList for the element type of enum errays...
[mono.git] / mono / tests / bug-467456.cs
1 using System;
2 using System.Collections.Generic;
3
4 class Program
5 {
6         static void Trigger () {
7                 List<string> inners = new List<string> ();
8                 inners.Add ("Failed to run update to completion");
9                 throw new Exception ();
10         }
11
12         static int Main (string[] args)
13         {
14                 try {
15                         Trigger ();
16                 } catch (TypeLoadException e) {
17                         return 1;
18                 } catch (Exception e) {
19                         return 0;
20                 }
21                 return 1;
22         }
23 }