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)
2166
var solution2 = solution.
AddAnalyzerReferences
(projectId, EmptyEnumerable<AnalyzerReference>());
2179
Assert.Throws<ArgumentNullException>("analyzerReferences", () => solution.
AddAnalyzerReferences
(projectId, null!));
3016
solution = solution.
AddAnalyzerReferences
(project1, analyzerReferences);