dotnet/runtime

`GetTypeByMetadataName` should be banned

Offen

#72.336 geöffnet am 17.07.2022

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (5.445 Forks)batch import
area-Metahelp wanted

Repository-Metriken

Stars
 (17.886 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 12T 11h) (661 gemergte PRs in 30 T)

Beschreibung

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