mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* CacheDependencyCas.cs: Under 1.x FAM also requires UnmanagedCode so we must assert this too before creating instances. We also "hide" an error where the initialization throws a NullReferenceException on 1.x (as this has nothing to do with CAS). svn path=/trunk/mcs/; revision=49993
The CacheStress.cs test is a standalone test that should be compiled and run as a console application. In normal mode the test prints every 10 seconds the number of transactions it committed. In case of an exception the test prints the exception and continues. In case of a deadlock the transaction count will remain constant. Note that the test does not run in .Net on Windows since the System.Web.Caching of .Net cannot be used from a console application. Mono's implementation does not currently have this dependency. When (and if) it does this test should be made into a Web application.