1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00
This commit is contained in:
Brian Fiete 2020-02-13 07:53:11 -08:00
parent 093ae8f9c1
commit 2d3518dcd4

View file

@ -36,6 +36,22 @@ namespace Tests
}
}
[Test]
public static void TestGenericDelegates()
{
delegate void(String v) dlg = scope => StrMethod;
CallGenericDelegate(dlg);
CallGenericDelegate<String>(scope => StrMethod);
}
public static void CallGenericDelegate<T>(delegate void(T v) dlg)
{
}
public static void StrMethod(String v)
{
}
[Test]
public static void TestBasics()
{