18 references to ProjectReferences
dotnet-format (1)
Analyzers\AnalyzerRunner.cs (1)
104
return project.
ProjectReferences
Microsoft.CodeAnalysis.Features (8)
AddImport\AbstractAddImportFeatureService.cs (1)
472
viableProjects.RemoveAll(project.
ProjectReferences
.Select(r => solution.GetRequiredProject(r.ProjectId)));
Completion\Providers\ImportCompletionProvider\AbstractTypeImportCompletionService.cs (1)
100
nonGlobalAliasedProjectReferencesSet.AddRange(currentProject.
ProjectReferences
.Where(pr => !HasGlobalAlias(pr.Aliases)).Select(pr => pr.ProjectId));
EditAndContinue\EditSession.cs (2)
472
!oldProject.
ProjectReferences
.SequenceEqual(newProject.
ProjectReferences
))
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (2)
454
projectConfigurationChange = projectConfigurationChange.With(nameof(oldProject.
ProjectReferences
) + "Added");
463
projectConfigurationChange = projectConfigurationChange.With(nameof(oldProject.
ProjectReferences
) + "Removed");
GenerateType\AbstractGenerateTypeService.Editor.cs (1)
377
if (!triggeringProject.
ProjectReferences
.Any(pr => pr.ProjectId == projectToBeUpdated.Id))
Rename\SymbolicRenameInfo.cs (1)
233
if (solution.Projects.Any(p => p.IsSubmission && p.
ProjectReferences
.Any(r => r.ProjectId == projectIdOfLocation)))
Microsoft.CodeAnalysis.Workspaces (9)
Diagnostics\Extensions.cs (1)
400
foreach (var projectRef in project.
ProjectReferences
.OrderBy(r => r.ProjectId.Id))
FindSymbols\Declarations\DeclarationFinder_AllDeclarations.cs (1)
95
foreach (var projectReference in project.
ProjectReferences
)
FindSymbols\FindReferences\DependentProjectsFinder.cs (1)
327
return project.
ProjectReferences
.Any(p => p.ProjectId == symbolOrigination.sourceProject.Id);
Workspace\Solution\ProjectChanges.cs (2)
126
return newProject.
ProjectReferences
.Except(oldProject.
ProjectReferences
);
Workspace\Workspace.cs (4)
1477
if (!project.
ProjectReferences
.Contains(newProjRef))
2029
project.
ProjectReferences
,
2361
if (!this.CurrentSolution.GetProject(fromProjectId)!.
ProjectReferences
.Contains(projectReference))
2374
if (this.CurrentSolution.GetProject(fromProjectId)!.
ProjectReferences
.Contains(projectReference))