projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bump NuGet.BuildTasks to get new updates and switch to `dev` branch (#5566)
[mono.git]
/
mcs
/
tests
/
test-884.cs
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
}