private Ctor_Int_NegativeCapacity_ThrowsArgumentOutOfRangeException ( ) : void | ||
return | void |
public static void Ctor_Int_NegativeCapacity_ThrowsArgumentOutOfRangeException()
{
Assert.Throws<ArgumentOutOfRangeException>("capacity", () => new Queue(-1)); // Capacity < 0
}