projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[Microsoft.CSharp] Replaced with CoreFX implementation
[mono.git]
/
mcs
/
tests
/
gtest-partial-05.cs
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
}