dotnet/roslyn

DiagnosticLogger.LogHyperlink uses GetHashCode() to persist data

オープン

#2,160 opened on 2015/04/21

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C# (4,257 件のフォーク)batch import
Area-AnalyzersBughelp wanted

Repository metrics

Stars
 (20,414 個のスター)
PR merge metrics
 (平均マージ 6d 17h) (30d で 256 merged PRs)

説明

GetHashCode has no guarantee of stability across architectures, runtime implementations, process or AppDomain boundaries, or even build to build (in fact, we used to specifically break GetHashCode in daily CHK builds to prevent internal code from relying on them outside of an AppDomain. Other telemetry is using SHA256 hashes, and LogHyperlink should do the same.

コントリビューターガイド