New test.
[mono.git] / mcs / class / System / System.ComponentModel / ComponentCollection.cs
index 45c686d3b6c9cad08d38929d3a328eca332a1068..cb34124823f9a1d8c71fa6c30fdae213af38187c 100644 (file)
@@ -37,9 +37,16 @@ using System.Runtime.InteropServices;
 using System.Reflection;
 
 namespace System.ComponentModel {
-       [ComVisible (true)]
-       public class ComponentCollection : ReadOnlyCollectionBase {
 
+#if MOONLIGHT
+       public class ComponentCollection
+       {
+       }
+#else
+
+       [ComVisible (true)]
+       public class ComponentCollection : ReadOnlyCollectionBase
+       {
                #region Constructors
 
                public ComponentCollection (IComponent[] components)
@@ -78,5 +85,5 @@ namespace System.ComponentModel {
                #endregion // Methods
                
        }
+#endif
 }
-