Clean up some static initializers
[mono.git] / mcs / class / corlib / System.Collections / SortedList.cs
index 874986ba6a65a498d993615407b8e6791d0a09e2..56ac10f5bf876cc83f620f1b7b0852c5df74c270 100644 (file)
@@ -618,9 +618,9 @@ namespace System.Collections {
                        private int size;
                        private EnumeratorMode mode;
 
-                       bool invalid = false;
+                       bool invalid;
 
-                       private readonly static string xstr = "SortedList.Enumerator: snapshot out of sync.";
+                       const string xstr = "SortedList.Enumerator: snapshot out of sync.";
 
                        public Enumerator (SortedList host, EnumeratorMode mode)
                        {