* CollectionEditor.cs: Implement CreateInstance for 1.1 profile (patch
[mono.git] / mcs / class / System.Design / System.ComponentModel.Design / CollectionEditor.cs
index 4bd8ee0abf236eff7b4c5fc583087729365dc313..8f084baca0813990cdd04b69331a9c7dfdbe81d1 100644 (file)
@@ -563,13 +563,12 @@ namespace System.ComponentModel.Design
                        return info.PropertyType;
                }
                
-               [MonoLimitation ("Only implemented for the 2.0 profile")]
                protected virtual object CreateInstance (Type itemType)
                {
 #if NET_2_0
                        return TypeDescriptor.CreateInstance (provider, itemType, null, null);
 #else
-                       throw new NotImplementedException ();
+                       return Activator.CreateInstance (itemType);
 #endif
                }