dotnet/runtime

`GetTypeByMetadataName` should be banned

Open

#72.336 aperta il 17 lug 2022

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C# (5445 fork)batch import
area-Metahelp wanted

Metriche repository

Star
 (17.886 star)
Metriche merge PR
 (Merge medio 12g 11h) (661 PR mergiate in 30 g)

Descrizione

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.

Guida contributor