dotnet/roslyn

Skip documents whose content failed to load from analysis

Aperta

#41.661 aperta il 13 feb 2020

 (0 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-AnalyzersConcept-Continuous Improvementhelp wanted

Metriche repository

Star
 (20.414 stelle)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

Analyzers shouldn't be run on documents (syntax trees) with load failures. These should be treated as generated files (they are empty).

Follow up on https://github.com/dotnet/roslyn/pull/40815.

Guida contributor