Updated MethodUtil so it works for CLR 4.0