C#: Enable nullability of Semmle.Extraction.CSharp.Standalone (#4115)

This commit is contained in:
Tamás Vajk
2020-09-14 13:43:57 +02:00
committed by GitHub
parent 021aa647c1
commit f5f4b8e25b
10 changed files with 242 additions and 258 deletions

View File

@@ -57,10 +57,15 @@ namespace Semmle.BuildAnalyser
/// <summary>
/// List of projects which were mentioned but don't exist on disk.
/// </summary>
public IEnumerable<string> MissingProjects =>
public IEnumerable<string> MissingProjects
{
get
{
// Only projects in the solution file can be missing.
// (NestedProjects are located on disk so always exist.)
MsBuildProjects.Where(p => !File.Exists(p));
return MsBuildProjects.Where(p => !File.Exists(p));
}
}
/// <summary>
/// The list of project files.