public void TryGuardedListAsSCIList2()
{
System.Collections.IList list = new GuardedList<B>(new ArrayList<B>());
// Should be called with an empty GuardedList<B>
Assert.AreEqual(0, list.Count);
list.CopyTo(new A[0], 0);
list.CopyTo(new B[0], 0);
list.CopyTo(new C[0], 0);
Assert.IsFalse(list.IsSynchronized);
Assert.AreNotEqual(null, list.SyncRoot);
Object b1 = new B(), b2 = new B(), c1 = new C(), c2 = new C();
Assert.IsFalse(list.Contains(b2));
Assert.IsFalse(list.Contains(c2));
Assert.AreEqual(-1, list.IndexOf(b1));
Assert.AreEqual(-1, list.IndexOf(c1));
}