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
[tuner] handle the case with multiple "preserve" attributes
[mono-project.git]
/
mcs
/
tests
/
gtest-partial-05.cs
blob
877bfeba7867a8dad56dd49174d90a99266f02b5
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
public interface
IC
:
IB
5
{
6
}
7
8
public partial interface
IB
:
IEnumerable
<
char
>
9
{
10
}
11
12
public partial interface
IB
:
IA
13
{
14
}
15
16
public interface
IA
:
IDisposable
17
{
18
}
19
20
class
Driver
21
{
22
static void
Foo
<
T
> (
T t
)
where T
:
IA
23
{
24
}
25
26
static void
Main
()
27
{
28
IC i
=
null
;
29
Foo
<
IC
> (
i
);
30
}
31
}