15 references to AdditionalDocumentIds
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
1070Assert.Equal(1, project.AdditionalDocumentIds.Count);
Microsoft.CodeAnalysis.Features (3)
Diagnostics\IDiagnosticAnalyzerService.cs (1)
41/// then diagnostics will be returned for <see cref="Project.DocumentIds"/> and <see cref="Project.AdditionalDocumentIds"/>.</param>
Diagnostics\Service\DiagnosticAnalyzerService.cs (1)
156documentIds.IsDefault ? [.. project.DocumentIds, .. project.AdditionalDocumentIds] : documentIds,
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (1)
374foreach (var documentId in project.AdditionalDocumentIds)
Microsoft.CodeAnalysis.Features.UnitTests (2)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (1)
2421var aId = project.AdditionalDocumentIds.Single();
EditAndContinue\WatchHotReloadServiceTests.cs (1)
193var aId = project.AdditionalDocumentIds.Single();
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Diagnostics\AdditionalFileDiagnosticsTests.cs (1)
111var newSolution = initialSolution.RemoveAdditionalDocument(initialSolution.Projects.Single().AdditionalDocumentIds.Single());
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\Project.cs (1)
203public IEnumerable<TextDocument> AdditionalDocuments => AdditionalDocumentIds.Select(GetAdditionalDocument)!;
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
SolutionTests\SolutionTests.cs (4)
917var documentId = solution.Projects.Single().AdditionalDocumentIds.Single(); 939var documentId = solution.Projects.Single().AdditionalDocumentIds.Single(); 1031var documentId = solution.Projects.Single().AdditionalDocumentIds.Single(); 1248AssertEx.SetEqual([a1, a3], newProject.AdditionalDocumentIds);
SolutionTests\SolutionWithSourceGeneratorTests.cs (2)
299var additionalDocumentId = project.AdditionalDocumentIds.Single(); 372projectBeforeChange.AdditionalDocumentIds.Single(),
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\VisualStudioWorkspaceImpl.RemoveAdditionalDocumentUndoUnit.cs (1)
22=> fromProject.AdditionalDocumentIds;