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