1 write to ProjectReferences
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\ProjectInfo.cs (1)
171ProjectReferences = projectReferences;
9 references to ProjectReferences
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Solution\ProjectInfo.cs (2)
299var newProjectReferences = projectReferences ?? ProjectReferences; 310newProjectReferences == ProjectReferences &&
Workspace\Solution\ProjectState.cs (1)
593public IReadOnlyList<ProjectReference> ProjectReferences => this.ProjectInfo.ProjectReferences;
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker_ResolveReferences.cs (1)
371=> from.ProjectReferences.Any(pr => pr.ProjectId == to);
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
SolutionTests\ProjectInfoTests.cs (5)
114Assert.Same(projectReference, ((ImmutableArray<ProjectReference>)info1.ProjectReferences).Single()); 117Assert.True(((ImmutableArray<ProjectReference>)info2.ProjectReferences).IsEmpty); 120Assert.True(((ImmutableArray<ProjectReference>)info3.ProjectReferences).IsEmpty); 123Assert.True(((ImmutableArray<ProjectReference>)info4.ProjectReferences).IsEmpty); 202SolutionTestHelpers.TestListProperty(instance, (old, value) => old.WithProjectReferences(value), opt => opt.ProjectReferences, new ProjectReference(projectId), allowDuplicates: false);