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