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
[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git]
/
mcs
/
tests
/
test-884.cs
blob
50519a790eea25b6abba0caf73c1717c2c97ad29
1
// Compiler options: -optimize
2
3
using
System
;
4
5
class
C
6
{
7
static void
Main
()
8
{
9
AddEH
<
string
> ();
10
}
11
12
static void
AddEH
<
T
>()
13
{
14
var
e
=
new
E
<
T
> ();
15
e
.
EEvent
+=
EHandler
;
16
}
17
18
static void
EHandler
()
19
{
20
}
21
22
class
E
<
T
>
23
{
24
public delegate void
EMethod
();
25
public event
EMethod EEvent
;
26
}
27
}