I removed a reference from a src project which exposed this issue. We shouldn't be using these types in new Razor.