private SolutionInfo( SolutionAttributes attributes, IReadOnlyList <ProjectInfo> projects, IReadOnlyList <AnalyzerReference> analyzerReferences ) { Attributes = attributes; Projects = projects; AnalyzerReferences = analyzerReferences; }
private SolutionInfo With( SolutionAttributes attributes = null, IEnumerable <ProjectInfo> projects = null) { var newAttributes = attributes ?? Attributes; var newProjects = projects ?? Projects; if (newAttributes == Attributes && newProjects == Projects) { return(this); } return(new SolutionInfo(newAttributes, newProjects)); }
private SolutionInfo With( SolutionAttributes attributes = null, IEnumerable<ProjectInfo> projects = null) { var newAttributes = attributes ?? Attributes; var newProjects = projects ?? Projects; if (newAttributes == Attributes && newProjects == Projects) { return this; } return new SolutionInfo(newAttributes, newProjects); }
private SolutionInfo(SolutionAttributes attributes, IEnumerable <ProjectInfo> projects) { Attributes = attributes; Projects = projects.ToImmutableReadOnlyListOrEmpty(); }
private SolutionInfo(SolutionAttributes attributes, IEnumerable<ProjectInfo> projects) { Attributes = attributes; Projects = projects.ToImmutableReadOnlyListOrEmpty(); }
private SolutionInfo(SolutionAttributes attributes, IReadOnlyList <ProjectInfo> projects) { Attributes = attributes; Projects = projects; }