Click or drag to resize
Ranorex

ValidateOptionsGetHashCode Method

Returns a static, very poor performing hash code!

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public override int GetHashCode()

Return Value

Type: Int32
A hash code for this instance.
Remarks
Since ValidateOptions instances are not immutable, the only way to satisfy all Equals(Object) and GetHashCode requirements is to return a static number for all ValidateOptions instances. Consequently, the performance of a hash table storing ValidateOptions instances will be very poor (hash table degenerates to list)!
See Also