Class SameException
Exception thrown when two object references are unexpectedly not the same instance.
Inherited Members
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class SameException : AssertActualExpectedException
Constructors
| Improve this Doc View SourceSameException(Object, Object)
Creates a new instance of the SameException class.
Declaration
public SameException(object expected, object actual)
Parameters
Type | Name | Description |
---|---|---|
Object | expected | The expected object reference |
Object | actual | The actual object reference |