Reduce TLS accesses. (#11487)
[mono-project.git] / mono / tests / bug-431413.2.cs
blob0a074a19da1f1696599a8e19bd2aa4ee0a0918c1
1 using System;
3 class Test
5 public Test ()
10 static int Main ()
12 TestMatrix<Test> tMat = new TestMatrix<Test> ();
13 tMat.setStuff (new Test (), 0, 0);
14 return 0;
18 class TestMatrix<T>
20 private T[,] _matrix;
22 public TestMatrix ()
24 _matrix = new T[1, 1];
27 public void setStuff (T item, int row, int column)
29 _matrix[row, column] = item;