[WebConfigurationManager] Reset LRUcache eviction count in Clear()
authorAndres G. Aragoneses <knocte@gmail.com>
Wed, 24 Apr 2013 23:10:50 +0000 (00:10 +0100)
committerAndres G. Aragoneses <knocte@gmail.com>
Wed, 24 Apr 2013 23:10:50 +0000 (00:10 +0100)
mcs/class/System.Web/System.Web.Configuration_2.0/LruCache.cs

index 5016a7227728b0bc67f4833b137d3b3d22ddafb5..77b404800c8383804b613f71a37d1a5b988778bc 100644 (file)
@@ -92,6 +92,7 @@ namespace System.Web.Configuration {
                        revdict.Clear ();
                        list.Clear ();
                        eviction_warning_shown = false;
+                       evictions = 0;
                }
 
                void DisposeValue (TValue value)