projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add CopyPath, CopyPathFlat, AppendPath
[mono.git]
/
mcs
/
tests
/
test-344.cs
1
using System;
2
3
delegate void Y ();
4
5
class X {
6
public event Y y;
7
static void Main (string [] args)
8
{
9
X x = new X ();
10
x.Foo ();
11
}
12
13
int a;
14
15
void Foo ()
16
{
17
int x = 1;
18
y += delegate {
19
Console.WriteLine (x);
20
Console.WriteLine (this.GetType ());
21
};
22
y ();
23
24
}
25
}