4 references to AddAnalyzerReferences
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\Project.cs (1)
674=> this.Solution.AddAnalyzerReferences(this.Id, analyzerReferences).GetRequiredProject(Id);
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
SolutionTests\SolutionTests.cs (3)
2166var solution2 = solution.AddAnalyzerReferences(projectId, EmptyEnumerable<AnalyzerReference>()); 2179Assert.Throws<ArgumentNullException>("analyzerReferences", () => solution.AddAnalyzerReferences(projectId, null!)); 3016solution = solution.AddAnalyzerReferences(project1, analyzerReferences);