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