Clean up some static initializers
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / ExtensibleClassFactory.cs
index 68d3c49bb0534fb63b151ebf8e373bd1d5cd9de5..ef5f55f6a8d32808590f721cfe1083087085c1c2 100644 (file)
@@ -39,12 +39,7 @@ namespace System.Runtime.InteropServices
        [ComVisible (true)]
        public sealed class ExtensibleClassFactory
        {
-               static Hashtable hashtable;
-
-               static ExtensibleClassFactory ()
-               {
-                       hashtable = new Hashtable ();
-               }
+               static readonly Hashtable hashtable = new Hashtable ();
 
                private ExtensibleClassFactory ()
                {