Contains() public method

public Contains ( System.CodeDom.CodeDirective value ) : bool
value System.CodeDom.CodeDirective
return bool
		public void Constructor0_Deny_Unrestricted ()
		{
			CodeDirectiveCollection coll = new CodeDirectiveCollection ();
			Assert.AreEqual (0, coll.Add (cd), "Add");
			Assert.AreSame (cd, coll[0], "this[int]");
			coll.CopyTo (array, 0);
			coll.AddRange (array);
			coll.AddRange (coll);
			Assert.IsTrue (coll.Contains (cd), "Contains");
			Assert.AreEqual (0, coll.IndexOf (cd), "IndexOf");
			coll.Insert (0, cd);
			coll.Remove (cd);
		}