Assert.AreSame Method (Object, Object)
Visual Studio 2012
Verifies that two specified object variables refer to the same object. The assertion fails if they refer to different objects.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
expected does not refer to the same object as actual.
- 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.