public static ConstructorInfo GetConstructor (params Type[] parameterTypes)
{
var constructorInfo = typeof (TypeForNewExpression).GetConstructor (parameterTypes);
if (constructorInfo == null)
throw new ArgumentException ("Ctor not found.", "parameterTypes");
return constructorInfo;
}
}