1 instantiation of ProjectToLoad
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\LanguageServerProjectSystem.cs (1)
98
ProjectsToLoadAndReload.AddWork(projectFilePaths.Select(p => new
ProjectToLoad
(p, ProjectGuid: null, ReportTelemetry: true)));
12 references to ProjectToLoad
Microsoft.CodeAnalysis.LanguageServer (12)
HostWorkspace\LanguageServerProjectLoader.cs (5)
32
protected readonly AsyncBatchingWorkQueue<
ProjectToLoad
> ProjectsToLoadAndReload;
83
ProjectsToLoadAndReload = new AsyncBatchingWorkQueue<
ProjectToLoad
>(
86
ProjectToLoad
.Comparer,
106
private async ValueTask LoadOrReloadProjectsAsync(ImmutableSegmentedList<
ProjectToLoad
> projectPathsToLoadOrReload, CancellationToken cancellationToken)
150
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 sealed class ProjectToLoadComparer : IEqualityComparer<
ProjectToLoad
>
18
public bool Equals(
ProjectToLoad
? x,
ProjectToLoad
? y)
23
public int GetHashCode([DisallowNull]
ProjectToLoad
obj)