Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / gtest-etree-12.cs
1 using System;
2 using System.Reflection;
3 using System.Linq.Expressions;
4
5 public static class TestCase
6 {
7         // This causes all the trouble:
8         public static bool DUMMY = StaticMethodTakingAnExpression ((i) => true);
9
10         public static bool StaticMethodTakingAnExpression (
11           Expression<Func<object, bool>> expression)
12         {
13                 // I don't execute the expression here!!!
14                 return false;
15         }
16
17         public static void DummyToMakeTheStaticsInitialize ()
18         {
19                 // Just a dummy method to make this static class get initialized
20         }
21 }
22
23 public class Program
24 {
25         public static int Main ()
26         {
27                 TestCase.DummyToMakeTheStaticsInitialize ();
28                 return 0;
29         }
30 }