18 lines
291 B
C#
18 lines
291 B
C#
|
using System;
|
||
|
using System.Reflection;
|
||
|
|
||
|
class X {
|
||
|
delegate object test (MethodInfo x);
|
||
|
|
||
|
public static void Main ()
|
||
|
{
|
||
|
DoCall (delegate(MethodInfo from) {
|
||
|
return from.Invoke (null, new object[] { from });
|
||
|
});
|
||
|
}
|
||
|
|
||
|
static void DoCall (test t)
|
||
|
{
|
||
|
}
|
||
|
}
|