"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / test-anon-64.cs
blobaef4ae420ffcc4ecceda46638865ff3498c60711
1 using System;
3 class Source {
4 public event EventHandler ChildSourceAdded;
5 public event EventHandler ChildSourceRemoved;
7 Source FindSource (Source x){ return null; }
9 private void AddSource(Source source, int position, object parent)
11 if(!FindSource(source).Equals(source)) {
12 return;
15 object iter = null;
17 source.ChildSourceAdded += delegate(object t, EventArgs e) {
18 AddSource((Source)(object)e, position, iter);
21 source.ChildSourceRemoved += delegate(object t, EventArgs e) {
25 public static void Main () {}