add ISafeSerializationData
[mcs.git] / tests / gtest-etree-12.cs
blob083ab9196ebdcbeda4fec1f1610ac91b756d709f
1 using System;
2 using System.Reflection;
3 using System.Linq.Expressions;
5 public static class TestCase
7 // This causes all the trouble:
8 public static bool DUMMY = StaticMethodTakingAnExpression ((i) => true);
10 public static bool StaticMethodTakingAnExpression (
11 Expression<Func<object, bool>> expression)
13 // I don't execute the expression here!!!
14 return false;
17 public static void DummyToMakeTheStaticsInitialize ()
19 // Just a dummy method to make this static class get initialized
23 public class Program
25 public static int Main ()
27 TestCase.DummyToMakeTheStaticsInitialize ();
28 return 0;