Merge pull request #4935 from lambdageek/dev-handles-may
[mono.git] / mcs / tests / test-partial-29.cs
index d7ce03547d5d737a57fbf7e0b73b2128526f698b..4ca9106d0afff25d87d489980723fc694126cc20 100644 (file)
@@ -7,7 +7,19 @@ static partial class C
        [Obsolete]
        static partial void Foo_2 (string s);
 
-       static void Main()
+       public static void Main()
+       {
+       }
+}
+
+partial class D
+{
+       static partial void Method(this int a);
+}
+
+static partial class D
+{
+       static partial void Method(this int a)
        {
        }
 }