2010-04-07 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-anon-69.cs
blob61f74979a13def8108a5e637552d90b4004817d0
1 using System;
3 public delegate object TargetAccessDelegate (object user_data);
5 public class SingleSteppingEngine
7 bool engine_stopped;
9 object SendCommand (TargetAccessDelegate target)
11 return target (null);
14 public void Detach ()
16 SendCommand (delegate {
17 if (!engine_stopped) {
18 throw new InvalidOperationException ();
21 return null;
22 });
26 class X
28 static void Main ()
29 { }