The .NET 4 MemoryCache class in System.Runtime.Caching needs a Clear() method, to allow completely clearing the MemoryCache.Default cache. There is no such method.You could get an enumerator and individually remove all keys, but the MSDN documentation says don't use the GetEnumerator method!
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results