/// <inheritdoc/> public override int GetHashCode() { return(HashCodeHelper.Combine(Path.GetHashCode(), (int)m_rewriteCountAndFileExistenceAndFileRewrite)); }
/// <inheritdoc /> public override int GetHashCode() { return(HashCodeHelper.Combine(Line, Position)); }
/// <inheritdoc /> public override int GetHashCode() { return(HashCodeHelper.Combine(FileArtifact.GetHashCode(), DirectoryArtifact.GetHashCode())); }
/// <summary> /// Gets a unique identifier for a type /// </summary> public static int GetTypeId(Type type) { Contract.Requires(type != null); return(s_types.GetOrAdd(type, _ => HashCodeHelper.GetOrdinalHashCode(type.FullName))); }
/// <inheritdoc /> public override int GetHashCode() { return(HashCodeHelper.Combine(Head.GetHashCode(), m_tail?.GetHashCode() ?? 0)); }