dotnet/roslyn

Skip documents whose content failed to load from analysis

Open

#41,661 opened on Feb 13, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Area-AnalyzersConcept-Continuous Improvementhelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 30d)

Description

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.

Contributor guide