linux-packaging-mono/mcs/tests/gtest-exmethod-14.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

30 lines
308 B
C#

using System;
public interface IA
{
void Foo (IA self);
}
public static class C
{
public static void Foo (this IA self)
{
self.Foo<int> ();
}
public static void Bar<U> (this IA self)
{
self.Foo<U> ();
}
public static void Foo<T> (this IA self)
{
}
public static void Main ()
{
}
}