Remove allocations from Dns.* (dotnet/corefx#41061)
[mono-project.git] / mono / tests / delegate6.cs
blob0cfff223275d44d9b48dd02dd51c8ef75c6190e6
1 using System;
2 using System.Reflection;
4 public class T
6 public void Test ()
8 Console.WriteLine ("CreateDelegate success!");
11 public delegate void blah ();
13 public static void Main ()
15 T t = new T();
16 Delegate o = Delegate.CreateDelegate (typeof (T.blah), t, "Test");
17 o.DynamicInvoke (new Object[] {});