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
[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git]
/
mcs
/
tests
/
gtest-575.cs
blob
ff1cc0f071be4b353d4a701fbfd38c1431c96536
1
using
System
;
2
3
public class
C
<
T1
>
where T1
:
B
<
T1
>,
new
()
4
{
5
public void
Test
()
6
{
7
using
(
var
a
=
new
T1
()) {
8
}
9
}
10
}
11
12
public class
B
<
T2
> :
IDisposable
13
{
14
void
IDisposable
.
Dispose
()
15
{
16
}
17
}
18
19
public class
Test
:
B
<
Test
>
20
{
21
public static void
Main
()
22
{
23
new
C
<
Test
> ().
Test
();
24
}
25
}