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
Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility...
[mono-project.git]
/
mcs
/
tests
/
gtest-488.cs
blob
af85e248bc7c892513f63631af9b96a22ff8c586
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
static void
Main
()
22
{
23
}
24
}