a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
30 lines
308 B
C#
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 ()
|
|
{
|
|
}
|
|
}
|