dotnet/roslyn

DiagnosticLogger.LogHyperlink uses GetHashCode() to persist data

Open

#2,160 创建于 2015年4月21日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)C# (20,414 star) (4,257 fork)batch import
Area-AnalyzersBughelp wanted

描述

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.

贡献者指南

DiagnosticLogger.LogHyperlink uses GetHashCode() to persist data · dotnet/roslyn#2160 | Good First Issue