2009-03-11 Zoltan Varga <vargaz@gmail.com>
[mono-debugger.git] / mono / dis / tests / test2.cs
blob0d19757ad392bc0e1b917acd617609e5dea2a6d6
1 /* Bug #76671
2 Note: gmcs currently emits duplicate TypeSpecs, so this
3 case doesn't get exposed, so use csc compiled
4 assemblies till gmcs is fixed.
6 Array of type params
7 */
8 using System;
10 class list <T> {
11 public static void bar ()
13 gen<int, T[][]>.foo ();
14 gen<int[][], T>.foo ();
15 gen<int, T[][,]>.foo ();
16 gen<T[,,], int>.foo ();
20 class list_two <D> {
21 public static void bar ()
23 gen<int, D[][]>.foo ();
24 gen<int[][], D>.foo ();
25 gen<int, D[][,]>.foo ();
26 gen<D[,,], int>.foo ();
30 class list_three <F> {
31 public static void bar ()
33 gen<int, F[][]>.foo ();
34 gen<int[][], F>.foo ();
35 gen<int, F[][,]>.foo ();
36 gen<F[,,], int>.foo ();
40 class gen <Q, R> {
41 public static void foo ()
46 class Test {
47 public static void Main ()