This was used as part of the previous ValidateNoSetStateInRender, but i rewrote that to not rely on the mutable range of function expressions.