"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / test-anon-72.cs
blobd396d29a601eeabecbafe408a67acaf395670bc3
1 public class Test
3 public delegate bool UnaryOperator(object self, out object res);
4 public void AddOperator(UnaryOperator target) {}
5 public bool TryGetValue(object self, out object value)
7 value = null;
8 return false;
11 public static void Main ()
15 void Foo ()
17 AddOperator (delegate(object self, out object res) {
18 object value;
19 if (TryGetValue(self, out value)) {
20 res = value;
21 if (res != null) return true;
23 res = null;
24 return false;
25 });