1 write to ProjectReferences
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\ProjectInfo.cs (1)
171
ProjectReferences
= projectReferences;
9 references to ProjectReferences
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Solution\ProjectInfo.cs (2)
299
var newProjectReferences = projectReferences ??
ProjectReferences
;
310
newProjectReferences ==
ProjectReferences
&&
Workspace\Solution\ProjectState.cs (1)
593
public 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)
114
Assert.Same(projectReference, ((ImmutableArray<ProjectReference>)info1.
ProjectReferences
).Single());
117
Assert.True(((ImmutableArray<ProjectReference>)info2.
ProjectReferences
).IsEmpty);
120
Assert.True(((ImmutableArray<ProjectReference>)info3.
ProjectReferences
).IsEmpty);
123
Assert.True(((ImmutableArray<ProjectReference>)info4.
ProjectReferences
).IsEmpty);
202
SolutionTestHelpers.TestListProperty(instance, (old, value) => old.WithProjectReferences(value), opt => opt.
ProjectReferences
, new ProjectReference(projectId), allowDuplicates: false);