repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Reduce TLS accesses. (#11487)
[mono-project.git]
/
mono
/
tests
/
bug-431413.2.cs
blob
0a074a19da1f1696599a8e19bd2aa4ee0a0918c1
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
}