public void Remove()
        {
            CodeTypeParameter ctp1 = new CodeTypeParameter();
            CodeTypeParameter ctp2 = new CodeTypeParameter();

            CodeTypeParameterCollection coll = new CodeTypeParameterCollection();

            coll.Add(ctp1);
            coll.Add(ctp2);
            Assert.AreEqual(2, coll.Count, "#1");
            Assert.AreEqual(0, coll.IndexOf(ctp1), "#2");
            Assert.AreEqual(1, coll.IndexOf(ctp2), "#3");
            coll.Remove(ctp1);
            Assert.AreEqual(1, coll.Count, "#4");
            Assert.AreEqual(-1, coll.IndexOf(ctp1), "#5");
            Assert.AreEqual(0, coll.IndexOf(ctp2), "#6");
        }
        public void Remove_Null()
        {
            CodeTypeParameterCollection coll = new CodeTypeParameterCollection();

            coll.Remove((CodeTypeParameter)null);
        }
        public void Remove_NotInCollection()
        {
            CodeTypeParameterCollection coll = new CodeTypeParameterCollection();

            coll.Remove(new CodeTypeParameter());
        }