CollectionAssert.Contains Method (ICollection, Object)
Visual Studio 2013
Verifies that the specified collection contains the specified element. The assertion fails if the element is not found in the collection.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.