projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[runtime] Coverage profiler fixes (#5698)
[mono.git]
/
mcs
/
tests
/
gtest-575.cs
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
}