Table of Contents

Class SameException

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

Exception thrown when Assert.Same fails.

public class SameException : XunitException, ISerializable, IAssertionException
Inheritance
SameException
Implements
Inherited Members

Methods

ForFailure(string, string)

Creates a new instance of the SameException class to be thrown when two values are not the same instance.