projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix LinearGradientMode parameter validation to match corefx (#5672)
[mono.git]
/
mcs
/
tests
/
gtest-488.cs
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
}