projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
mcs
/
tests
/
test-anon-69.cs
1
using System;
2
3
public delegate object TargetAccessDelegate (object user_data);
4
5
public class SingleSteppingEngine
6
{
7
bool engine_stopped;
8
9
object SendCommand (TargetAccessDelegate target)
10
{
11
return target (null);
12
}
13
14
public void Detach ()
15
{
16
SendCommand (delegate {
17
if (!engine_stopped) {
18
throw new InvalidOperationException ();
19
}
20
21
return null;
22
});
23
}
24
}
25
26
class X
27
{
28
static void Main ()
29
{ }
30
}