Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / gtest-496.cs
1 using System;
2
3 abstract class Base
4 {
5         internal static T EndExecute<T> (object source, string method) where T : Base
6         {
7                 return null;
8         }
9 }
10
11 class Derived : Base
12 {
13         internal static Derived EndExecute<TElement> (object source)
14         {
15                 return null;
16         }
17 }
18
19 class a
20 {
21         public static int Main ()
22         {
23                 Derived.EndExecute<Derived> (null, "something");
24                 return 0;
25         }
26 }