Merge pull request #4816 from BrzVlad/fix-remoting-exception
[mono.git] / mcs / tests / gtest-426.cs
1 using System;
2
3 namespace OverloadTest
4 {
5         public interface MyInterface<T>
6         {
7                 void Invoke (T target);
8         }
9
10         public class MyClass<T>
11         {
12
13                 public bool Method (MyInterface<T> obj)
14                 {
15                         return Method (obj.Invoke);
16                 }
17
18                 public bool Method (Action<T> myAction)
19                 {
20                         return true;
21                 }
22         }
23
24         class C
25         {
26                 public static void Main ()
27                 {
28                 }
29         }
30 }