Contains() public method

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