public Contains ( |
||
value | ||
Résultat | bool |
public void Constructor0_Deny_Unrestricted () { CodeCommentStatementCollection coll = new CodeCommentStatementCollection (); Assert.AreEqual (0, coll.Add (ccs), "Add"); Assert.AreSame (ccs, coll[0], "this[int]"); coll.CopyTo (array, 0); coll.AddRange (array); coll.AddRange (coll); Assert.IsTrue (coll.Contains (ccs), "Contains"); Assert.AreEqual (0, coll.IndexOf (ccs), "IndexOf"); coll.Insert (0, ccs); coll.Remove (ccs); }