public void Insert()
        {
            CodeTypeParameter tp1 = new CodeTypeParameter();
            CodeTypeParameter tp2 = new CodeTypeParameter();

            CodeTypeParameterCollection coll = new CodeTypeParameterCollection();

            coll.Add(tp1);
            Assert.AreEqual(1, coll.Count, "#1");
            Assert.AreEqual(0, coll.IndexOf(tp1), "#2");
            coll.Insert(0, tp2);
            Assert.AreEqual(2, coll.Count, "#3");
            Assert.AreEqual(1, coll.IndexOf(tp1), "#4");
            Assert.AreEqual(0, coll.IndexOf(tp2), "#5");
        }
        public void Insert_Null()
        {
            CodeTypeParameterCollection coll = new CodeTypeParameterCollection();

            coll.Insert(0, (CodeTypeParameter)null);
        }