public void Constructor0_Deny_Unrestricted () { CodeTypeMemberCollection coll = new CodeTypeMemberCollection (); Assert.AreEqual (0, coll.Add (ctm), "Add"); Assert.AreSame (ctm, coll[0], "this[int]"); coll.CopyTo (array, 0); coll.AddRange (array); coll.AddRange (coll); Assert.IsTrue (coll.Contains (ctm), "Contains"); Assert.AreEqual (0, coll.IndexOf (ctm), "IndexOf"); coll.Insert (0, ctm); coll.Remove (ctm); }