Merge pull request #601 from knocte/sock_improvements
[mono.git] / mcs / class / System / Test / System.ComponentModel / TypeDescriptorTests.cs
index 2fdd8db64d109efc49cba925b3c0c19db84036b8..a09776a9c00b41810928d26ee0e118948744c9de 100644 (file)
@@ -1465,6 +1465,10 @@ namespace MonoTests.System.ComponentModel
                [Test]
                public void GetProperties_Order ()
                {
+#if MOBILE
+                       // Component.Container will be be linked out (when using Link SDK) if unused
+                       Assert.Null (new Component ().Container, "pre-test");
+#endif
                        MyComponent com = new MyComponent (new MyContainer ());
 
                        PropertyDescriptorCollection col = TypeDescriptor.GetProperties (com);