[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / tests / test-anon-69.cs
blob2503770ceca0845da9c5afa25125c769254cedd3
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 public static void Main ()
29 { }