1 instantiation of InFlightSolution
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspace_SolutionCaching.cs (1)
92solution = new InFlightSolution(
9 references to InFlightSolution
Microsoft.CodeAnalysis.Remote.ServiceHub (9)
Host\RemoteWorkspace.cs (3)
118async ValueTask<(InFlightSolution inFlightSolution, Task<Solution> solutionTask)> AcquireSolutionAndIncrementInFlightCountAsync() 142async ValueTask<(Solution solution, T result)> ProcessSolutionAsync(InFlightSolution inFlightSolution, Task<Solution> solutionTask) 168async ValueTask DecrementInFlightCountAsync(InFlightSolution inFlightSolution)
Host\RemoteWorkspace.InFlightSolution.cs (1)
170Contract.ThrowIfFalse(_workspace._solutionChecksumToSolution.TryGetValue(SolutionChecksum, out var existingSolution));
Host\RemoteWorkspace_SolutionCaching.cs (5)
36private readonly Dictionary<Checksum, InFlightSolution> _solutionChecksumToSolution = []; 41private InFlightSolution GetOrCreateSolutionAndAddInFlightCount_NoLock( 50var solution = GetOrCreateSolutionAndAddInFlightCount_NoLock(); 67InFlightSolution GetOrCreateSolutionAndAddInFlightCount_NoLock() 71if (_solutionChecksumToSolution.TryGetValue(solutionChecksum, out var solution))