LastFrameDrawStates is an IEnumerable for the draw states used in the previous draw call. This can be used to find performance problems and isolate what may be causing state changes.
The following code can be used to output state changes to the Output window in Visual Studio