I rolled back to 7.3 and when line profiling is enabled I get a crash at the same point:
System.Security.VerificationException was unhandled
Message=Operation could destabilize the runtime.
After installing 8.3 again I now get the VerificationException instead of the TypeInitializationError - but its in the same line of code. The Constructor for GZipStream.
The Exception Helper asks:
""Make sure your application is not loading two conflicting versions of a class library."
http://msdn.microsoft.com/query/dev10.q ... RIFICATION
There are 2 versions of GZIP in 2 different DLLs. One is private and only used internally so there should not be a conflict and the game runs just fine without the profiler and even with method level timings turned on.
Any ideas what line-level timing is doing to cause this crash?