public override int GetHashCode() { return(Hash.Combine( _type.GetHashCode(), Hash.Combine( _isParams.GetHashCode(), _refKind.GetHashCode()))); }
/// <inheritdoc/> public override readonly int GetHashCode() { int hashCode = 2061023908; hashCode = (hashCode * -1521134295) + SymbolEqualityComparer.Default.GetHashCode(Type); hashCode = (hashCode * -1521134295) + RefKind.GetHashCode(); hashCode = (hashCode * -1521134295) + GenericParameterIndex.GetHashCode(); return(hashCode); }
public override int GetHashCode() { return(Hash.Combine( _type.Type.GetHashCode(), Hash.Combine( Hash.CombineValues(_type.CustomModifiers), Hash.Combine( _isParams.GetHashCode(), _refKind.GetHashCode())))); }
public override int GetHashCode() => _refKind.GetHashCode() ^ _type.GetHashCode() << 3;