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
Take stars out of types where they make more sense.
[mono-project.git]
/
mcs
/
tests
/
gtest-variance-12.cs
blob
8ae535eaed4ebfab690e8a3de3001dd572b3247d
1
using
System
;
2
3
delegate void
D
<
in
T
> ();
4
5
interface
I
<
out
T
>
6
{
7
event
D
<
T
>
field
;
8
}
9
10
class
D
:
I
<
string
>
11
{
12
public event
D
<
string
>
field
;
13
14
public static int
Main
()
15
{
16
D
<
object
>
dd
= () => {};
17
18
D d
=
new
D
();
19
d
.
field
+=
dd
;
20
d
.
field
();
21
22
return
0
;
23
}
24
}