Class EqualityComparerImplementationException

Namespace: AutoFixture.Idioms
Assembly: AutoFixture.Idioms.dll

Represents an error about an ill-behaved implementation of the IEqualityComparer%601 interface.

public class EqualityComparerImplementationException : Exception, ISerializable

Inheritance

objectExceptionEqualityComparerImplementationException

Implements

ISerializable

Inherited Members

Exception.GetBaseException(), Exception.ToString(), Exception.GetType(), Exception.TargetSite, Exception.Message, Exception.Data, Exception.InnerException, Exception.HelpLink, Exception.Source, Exception.HResult, Exception.StackTrace, Exception.SerializeObjectState, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EqualityComparerImplementationException()

Initializes a new instance of teh EqualityComparerImplementationException class.

public EqualityComparerImplementationException()

EqualityComparerImplementationException(string)

Initializes a new instance of teh EqualityComparerImplementationException class.

public EqualityComparerImplementationException(string message)

Parameters

message string

The error message that explains the reason for the exception.

EqualityComparerImplementationException(string, Exception)

Initializes a new instance of teh EqualityComparerImplementationException class.

public EqualityComparerImplementationException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception.

EqualityComparerImplementationException(SerializationInfo, StreamingContext)

Initializes a new instance of teh EqualityComparerImplementationException class.

protected EqualityComparerImplementationException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.