CopyTo() public method

public CopyTo ( CodeCatchClause array, int index ) : void
array CodeCatchClause
index int
return void
		public void Constructor1_Deny_Unrestricted ()
		{
			CodeCatchClauseCollection coll = new CodeCatchClauseCollection (array);
			coll.CopyTo (array, 0);
			Assert.AreEqual (1, coll.Add (ccc), "Add");
			Assert.AreSame (ccc, coll[0], "this[int]");
			coll.AddRange (array);
			coll.AddRange (coll);
			Assert.IsTrue (coll.Contains (ccc), "Contains");
			Assert.AreEqual (0, coll.IndexOf (ccc), "IndexOf");
			coll.Insert (0, ccc);
			coll.Remove (ccc);
		}