dotnet/runtime

Share AssemblyName.EscapeString with UriHelper.EscapeString

Open

#44,752 opened on Nov 16, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C# (5,445 forks)batch import
area-System.Reflectionhelp wanted

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (Avg merge 12d 11h) (661 merged PRs in 30d)

Description

It seems at some point the AssemblyName version was copied from UriHelper and hasn't kept up with any changes, including its rewrite in https://github.com/dotnet/runtime/commit/94acc996414dcf6b4b60847775e0247fd959eaa8. We should get rid of the old unsafe implementation entirely and just share the code if possible. cc: @stephentoub

Contributor guide