Verifies that the Count property
is synchronized with the number of iterated elements.
Namespace:
MbUnit.Framework
Assembly:
MbUnit.Compatibility (in MbUnit.Compatibility.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public static void IsCountCorrect(
ICollection col
) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub IsCountCorrect ( _
col As ICollection _
) |
Parameters
- col
- Type: System.Collections..::.ICollection
Collection to test.
Exceptions
| Exception | Condition |
|---|
| System..::.ArgumentNullException |
col is a null reference (Nothing in Visual Basic).
|
See Also