mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
18 lines
311 B
C#
18 lines
311 B
C#
// CS1533: Invoke cannot be called directly on a delegate
|
|
// Line : 11
|
|
// Compiler options: -langversion:ISO-1
|
|
|
|
public class TestClass
|
|
{
|
|
delegate void OneDelegate (int i);
|
|
|
|
static void Main()
|
|
{
|
|
OneDelegate d = new OneDelegate (TestMethod);
|
|
d.Invoke (1);
|
|
}
|
|
public static void TestMethod (int i)
|
|
{
|
|
}
|
|
}
|