1 write to AdditionalDocuments
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\ProjectInfo.cs (1)
175AdditionalDocuments = additionalDocuments;
10 references to AdditionalDocuments
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\ProjectInfo.cs (2)
303var newAdditionalDocuments = additionalDocuments ?? AdditionalDocuments; 314newAdditionalDocuments == AdditionalDocuments &&
Workspace\Solution\ProjectState.cs (1)
117AdditionalDocumentStates = new TextDocumentStates<AdditionalDocumentState>(projectInfoFixed.AdditionalDocuments, info => new AdditionalDocumentState(languageServices.SolutionServices, info, loadTextOptions));
Workspace\Solution\SolutionCompilationState.cs (1)
608UpdateDocuments<AdditionalDocumentState>(info.AdditionalDocuments);
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
CommandLineProject\CommandLineProjectTests.cs (1)
127var secondDoc = info.AdditionalDocuments.Single();
SolutionTests\ProjectInfoTests.cs (5)
97Assert.Same(documentInfo, ((ImmutableArray<DocumentInfo>)info1.AdditionalDocuments).Single()); 100Assert.True(((ImmutableArray<DocumentInfo>)info2.AdditionalDocuments).IsEmpty); 103Assert.True(((ImmutableArray<DocumentInfo>)info3.AdditionalDocuments).IsEmpty); 106Assert.True(((ImmutableArray<DocumentInfo>)info4.AdditionalDocuments).IsEmpty); 201SolutionTestHelpers.TestListProperty(instance, (old, value) => old.WithAdditionalDocuments(value), opt => opt.AdditionalDocuments, documentInfo, allowDuplicates: false);