[System] Removal of the NET_2_0 in the source code
[mono.git] / mcs / class / System / System.Diagnostics / CounterCreationDataCollection.cs
index c86fb2557dac7225b94fc3332e3bec71a8e94edc..10a73ba08eecc493d00c3f01bf3e0e2a1b5f7945 100644 (file)
@@ -100,7 +100,7 @@ namespace System.Diagnostics {
                        InnerList.Insert (index, value);
                }
 
-               protected override void OnInsert (int index, object value)
+               protected override void OnValidate (object value)
                {
                        if (!(value is CounterCreationData))
                                throw new NotSupportedException (Locale.GetText(