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
[bcl] Update BCL Linked Size
[mono-project.git]
/
mcs
/
tests
/
gtest-488.cs
blob
49aa06247ea8c9735ce9dd2358b5b9852ee99181
1
class
Ref
{}
2
3
class
Def
:
Ref
{}
4
5
interface
IFooRef
{
6
Ref Bar { get; }
7
}
8
9
interface
IFooDef
:
IFooRef
{
10
new
Def Bar { get; set; }
11
}
12
13
class
FooProcessor
<
T
>
where T
:
IFooDef
{
14
public void
Attach
(
T t
,
Def def
)
15
{
16
t
.
Bar
=
def
;
17
}
18
}
19
20
class
Program
{
21
public static void
Main
()
22
{
23
}
24
}