make delegate and method private
[mono.git] / mcs / class / System.Core / Test / System.Linq.Expressions / ExpressionTest_Invoke.cs
index 9d335dd18cfcaaa2cba5030cf9a61f170f3e2784..1c7c30784130595874cbccb3476bb0e0ffd7d109 100644 (file)
@@ -120,15 +120,15 @@ namespace MonoTests.System.Linq.Expressions {
                        return typeof (Expression).Assembly.GetType ("Consts") != null;
                }
 
-               public delegate string StringAction (string s);
+               delegate string StringAction (string s);
 
-               public static string Identity (string s)
+               static string Identity (string s)
                {
                        return s;
                }
 
                [Test]
-               public void TestCompileInvoke ()
+               public void TestCompileInvokePrivateDelegate ()
                {
                        var action = Expression.Parameter (typeof (StringAction), "action");
                        var str = Expression.Parameter (typeof (string), "str");