14 references to _project
Microsoft.CodeAnalysis.Features (14)
AddImport\References\ProjectSymbolReference.cs (10)
36
return document.Project.Id ==
_project
.Id
38
:
_project
.Language == LanguageNames.CSharp
40
:
_project
.Language == LanguageNames.VisualBasic
51
=> document.Project.Id !=
_project
.Id;
60
if (document.Project.Id ==
_project
.Id)
79
textChanges, description, tags, priority,
_project
.Id);
93
description = project.Id ==
_project
.Id
95
: string.Format(FeaturesResources.Add_reference_to_0,
_project
.Name);
104
_project
.Id == reference._project.Id;
108
=> Hash.Combine(
_project
.Id, base.GetHashCode());
AddImport\SearchScopes\AllSymbolsProjectSearchScope.cs (1)
28
_project
, searchQuery, filter, cancellationToken).ConfigureAwait(false);
AddImport\SearchScopes\SourceSymbolsProjectSearchScope.cs (3)
32
var service =
_project
.Solution.Services.GetRequiredService<ISymbolTreeInfoCacheService>();
33
var info = await service.TryGetPotentiallyStaleSourceSymbolTreeInfoAsync(
_project
, cancellationToken).ConfigureAwait(false);
43
var lazyAssembly = _projectToAssembly.GetOrAdd(
_project
, CreateLazyAssembly);