This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Description
See commit here: 842d661
This check should be in CanCreateModel so that it will be skipped for someone who subclassed ComplexTypeModelBinder
Also, this change adds runtime reflection to pretty hot codepath just for validation purposes. We can do this one time per-instance by moving it to the inside of this block:
if (_modelCreator == null) { }