Fixed bug I ran into when hosting a Passive site in a shared .NET 4.5 environment. The bug was related to this article: http://stackoverflow.com/questions/378895/operation-could-destabilize-the-runtime
When I tried to open the site I would get the "Operation could destabilize the runtime" error. I solved the problem by adding ".OfType<ISomeObject>();" to the offending call.