public object CallStaticFunction(Type type, Type[] typeParams, string funcName, object[] args) { return PerformInvocation(type, funcName, args, innerArgs => type.CallMethod(typeParams, funcName, StaticFlags, innerArgs), innerArgs => type.TryCallMethodWithValues(TryConvert, funcName, typeParams, StaticFlags, innerArgs)); }