If this code is on MethodInfo, you don't need this class.