Class GetHashCodeOverrideException

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

Represents an error about an ill-behaved override of the GetHashCode method.

public class GetHashCodeOverrideException : Exception, ISerializable

Inheritance

objectExceptionGetHashCodeOverrideException

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

GetHashCodeOverrideException()

Initializes a new instance of the GetHashCodeOverrideException class.

public GetHashCodeOverrideException()

GetHashCodeOverrideException(string)

Initializes a new instance of the GetHashCodeOverrideException class.

public GetHashCodeOverrideException(string message)

Parameters

message string

The error message that explains the reason for the exception.

GetHashCodeOverrideException(string, Exception)

Initializes a new instance of the GetHashCodeOverrideException class.

public GetHashCodeOverrideException(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.