6 references to RemoveAnalyzerConfigDocuments
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspace.SolutionCreator.cs (1)
410static (solution, documentIds) => solution.RemoveAnalyzerConfigDocuments(documentIds),
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
584static (s, ids) => s.RemoveAnalyzerConfigDocuments(ids),
Workspace\Solution\Project.cs (1)
792return this.Solution.RemoveAnalyzerConfigDocuments(documentIds).GetRequiredProject(this.Id);
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
SolutionTests\SolutionTests.cs (3)
165Assert.Throws<ArgumentNullException>(() => solution.RemoveAnalyzerConfigDocuments(default)); 166Assert.Throws<InvalidOperationException>(() => solution.RemoveAnalyzerConfigDocuments(ImmutableArray.Create(s_unrelatedDocumentId))); 167Assert.Throws<ArgumentNullException>(() => solution.RemoveAnalyzerConfigDocuments(ImmutableArray.Create((DocumentId)null!)));