2010-05-27 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-426.cs
blob133bd33445368a823323de4a512086b64e869fb3
1 using System;
3 namespace OverloadTest
5 public interface MyInterface<T>
7 void Invoke (T target);
10 public class MyClass<T>
13 public bool Method (MyInterface<T> obj)
15 return Method (obj.Invoke);
18 public bool Method (Action<T> myAction)
20 return true;
24 class C
26 public static void Main ()