1 instantiation of ProjectToLoad
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\LanguageServerProjectSystem.cs (1)
134
_projectsToLoadAndReload.AddWork(projectFilePaths.Select(p => new
ProjectToLoad
(p, ProjectGuid: null, ReportTelemetry: true)));
12 references to ProjectToLoad
Microsoft.CodeAnalysis.LanguageServer (12)
HostWorkspace\LanguageServerProjectSystem.cs (5)
46
private readonly AsyncBatchingWorkQueue<
ProjectToLoad
> _projectsToLoadAndReload;
89
_projectsToLoadAndReload = new AsyncBatchingWorkQueue<
ProjectToLoad
>(
92
ProjectToLoad
.Comparer,
157
private async ValueTask LoadOrReloadProjectsAsync(ImmutableSegmentedList<
ProjectToLoad
> projectPathsToLoadOrReload, CancellationToken cancellationToken)
214
private async Task<bool> LoadOrReloadProjectAsync(
ProjectToLoad
projectToLoad, ToastErrorReporter toastErrorReporter, BuildHostProcessManager buildHostProcessManager, CancellationToken cancellationToken)
HostWorkspace\ProjectTelemetry\ProjectLoadTelemetryReporter.cs (2)
36
public async Task ReportProjectLoadTelemetryAsync(Dictionary<ProjectFileInfo, TelemetryInfo> projectFileInfos,
ProjectToLoad
projectToLoad, CancellationToken cancellationToken)
134
private static async Task<string> GetProjectIdAsync(
ProjectToLoad
projectToLoad)
HostWorkspace\ProjectToLoad.cs (5)
14
public static IEqualityComparer<
ProjectToLoad
> Comparer = new ProjectToLoadComparer();
16
private class ProjectToLoadComparer : IEqualityComparer<
ProjectToLoad
>
18
public bool Equals(
ProjectToLoad
? x,
ProjectToLoad
? y)
23
public int GetHashCode([DisallowNull]
ProjectToLoad
obj)