mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
C#: Add declaration visibility modifiers
This commit is contained in:
@@ -40,11 +40,11 @@ namespace Semmle.Autobuild.Shared
|
||||
/// <summary>
|
||||
/// A solution file on the filesystem, read using Microsoft.Build.
|
||||
/// </summary>
|
||||
class Solution : ProjectOrSolution, ISolution
|
||||
internal class Solution : ProjectOrSolution, ISolution
|
||||
{
|
||||
readonly SolutionFile? solution;
|
||||
private readonly SolutionFile? solution;
|
||||
|
||||
readonly IEnumerable<Project> includedProjects;
|
||||
private readonly IEnumerable<Project> includedProjects;
|
||||
public override IEnumerable<IProjectOrSolution> IncludedProjects => includedProjects;
|
||||
|
||||
public IEnumerable<SolutionConfigurationInSolution> Configurations =>
|
||||
@@ -84,7 +84,7 @@ namespace Semmle.Autobuild.Shared
|
||||
.ToArray();
|
||||
}
|
||||
|
||||
IEnumerable<Version> ToolsVersions => includedProjects.Where(p => p.ValidToolsVersion).Select(p => p.ToolsVersion);
|
||||
private IEnumerable<Version> ToolsVersions => includedProjects.Where(p => p.ValidToolsVersion).Select(p => p.ToolsVersion);
|
||||
|
||||
public Version ToolsVersion => ToolsVersions.Any() ? ToolsVersions.Max() : new Version();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user