Invalid function pointer 1$x was passed into the runtime to be converted to a delegate. Passing in invalid function pointers ...