11 references to TestListProperty
Microsoft.CodeAnalysis.Workspaces.UnitTests (11)
SolutionTests\DocumentInfoTests.cs (1)
115
SolutionTestHelpers.
TestListProperty
(instance, (old, value) => old.WithFolders(value), opt => opt.Folders, "folder", allowDuplicates: true);
SolutionTests\ProjectInfoTests.cs (6)
200
SolutionTestHelpers.
TestListProperty
(instance, (old, value) => old.WithDocuments(value), opt => opt.Documents, documentInfo, allowDuplicates: false);
201
SolutionTestHelpers.
TestListProperty
(instance, (old, value) => old.WithAdditionalDocuments(value), opt => opt.AdditionalDocuments, documentInfo, allowDuplicates: false);
202
SolutionTestHelpers.
TestListProperty
(instance, (old, value) => old.WithAnalyzerConfigDocuments(value), opt => opt.AnalyzerConfigDocuments, documentInfo, allowDuplicates: false);
203
SolutionTestHelpers.
TestListProperty
(instance, (old, value) => old.WithAnalyzerReferences(value), opt => opt.AnalyzerReferences, (AnalyzerReference)new TestAnalyzerReference(), allowDuplicates: false);
204
SolutionTestHelpers.
TestListProperty
(instance, (old, value) => old.WithMetadataReferences(value), opt => opt.MetadataReferences, (MetadataReference)new TestMetadataReference(), allowDuplicates: false);
205
SolutionTestHelpers.
TestListProperty
(instance, (old, value) => old.WithProjectReferences(value), opt => opt.ProjectReferences, new ProjectReference(projectId), allowDuplicates: false);
SolutionTests\SolutionTests.cs (4)
1920
SolutionTestHelpers.
TestListProperty
(solution,
2079
SolutionTestHelpers.
TestListProperty
(solution,
2149
SolutionTestHelpers.
TestListProperty
(solution,
2221
SolutionTestHelpers.
TestListProperty
(solution,