static ConstructorHelper() { var methodInfo = typeof(Delegate).GetMethod("CreateDelegate", BindingFlags.Static | BindingFlags.NonPublic, null, new[] { typeof(Type), typeof(object), typeof(RuntimeMethodHandle) }, null); _createDelegate = Delegate.CreateDelegate(typeof(CreateDelegateHandler), methodInfo) as CreateDelegateHandler; }