Take in account methodInfo.Name

Take in account method name