internal override int GetHashCode(ComparisonOptions options) { // TODO(cyrusn): Consider hashing the type arguments as well. return (Hash.Combine(_arity, Hash.Combine(GetHashCode(options.IgnoreCase, _metadataName), _containerKey.GetHashCode(options)))); }
internal override int GetHashCode(ComparisonOptions options) { // TODO(cyrusn): Consider hashing the parameters as well return (Hash.Combine(_isIndexer, Hash.Combine(_refKinds.Length, Hash.Combine(GetHashCode(options.IgnoreCase, _metadataName), _containerKey.GetHashCode(options))))); }
internal override int GetHashCode(ComparisonOptions options) { // TODO: Consider hashing the parameters as well return (Hash.Combine(_arity, Hash.Combine(_refKinds.Length, Hash.Combine(_isPartialMethodImplementationPart, Hash.Combine(GetHashCode(options.IgnoreCase, _metadataName), _containerKey.GetHashCode(options)))))); }
internal override int GetHashCode(ComparisonOptions options) { return(Hash.Combine( GetHashCode(options.IgnoreCase, _metadataName), _containerKey.GetHashCode(options))); }
public int GetHashCode(SymbolKey obj) => obj.GetHashCode();
internal override int GetHashCode(ComparisonOptions options) { return(Hash.Combine( _rank, _elementKey.GetHashCode(options))); }
internal override int GetHashCode(ComparisonOptions options) { return(Hash.Combine(1, _pointedAtKey.GetHashCode(options))); }