resolve generic from method call
update CS0305