Please realize that linear regression methods have superseded this analysis. In my example, the Dose is a continuous factor but treated as a categorical one to answer your question. I can use regression with a linear model that includes higher-order terms to test the same things.
Here is the result from using contrasts:
Here is the result using linear regression:
The conclusions are the same from both methods (the linear effect is significant, but the quadratic and cubic effects are not significant). Note that the actual tests are different, so the p-values are not the same, but the conclusions are the same.