dotnet/runtime

`GetTypeByMetadataName` should be banned

Open

#72,336 opened on Jul 17, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C# (5,445 forks)batch import
area-Metahelp wanted

Repository metrics

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

Description

See https://github.com/dotnet/runtime/issues/57349 for details. There are currently usages of this API, these should be replaced with GetBestTypeByMetadataName and also BannedApiAnalyzers should be used to prevent any accidental future usages.

Contributor guide