projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add CopyPath, CopyPathFlat, AppendPath
[mono.git]
/
mcs
/
tests
/
gtest-182.cs
1
interface IMember {
2
int GetId ();
3
}
4
5
interface IMethod : IMember { }
6
7
class C1 : IMethod
8
{
9
public int GetId () { return 42; }
10
}
11
12
class X {
13
static void foo<a> (a e )
14
where a : IMember
15
{
16
e.GetId ();
17
}
18
19
public static void Main ()
20
{
21
foo<IMethod> (new C1 ());
22
}
23
}