Merge pull request #5210 from alexrp/profiler-runtime-settings
[mono.git] / mono / tests / bug-431413.2.cs
1 using System;
2
3 class Test
4 {
5         public Test ()
6         {
7
8         }
9
10         static int Main ()
11         {
12                 TestMatrix<Test> tMat = new TestMatrix<Test> ();
13                 tMat.setStuff (new Test (), 0, 0);
14                 return 0;
15         }
16 }
17
18 class TestMatrix<T>
19 {
20         private T[,] _matrix;
21
22         public TestMatrix ()
23         {
24                 _matrix = new T[1, 1];
25         }
26
27         public void setStuff (T item, int row, int column)
28         {
29                 _matrix[row, column] = item;
30         }
31
32 }