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