1 instantiation of SolutionSnapshotId
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\SolutionSnapshotRegistry.cs (1)
40var id = new SolutionSnapshotId(Interlocked.Increment(ref s_solutionSnapshotId));
8 references to SolutionSnapshotId
Microsoft.CodeAnalysis.Features (6)
Contracts\Client\ISolutionSnapshotProviderService.cs (1)
17ValueTask<SolutionSnapshotId> RegisterSolutionSnapshotAsync(CancellationToken cancellationToken);
EditAndContinue\SolutionSnapshotRegistry.cs (5)
16SolutionSnapshotId RegisterSolutionSnapshot(Solution solution); 27private readonly Dictionary<SolutionSnapshotId, Solution> _pendingSolutionSnapshots = []; 38public SolutionSnapshotId RegisterSolutionSnapshot(Solution solution) 40var id = new SolutionSnapshotId(Interlocked.Increment(ref s_solutionSnapshotId)); 50public Solution GetRegisteredSolutionSnapshot(SolutionSnapshotId id)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\EditAndContinue\RegisterSolutionSnapshotHandler.cs (1)
36var id = _registry.RegisterSolutionSnapshot(context.Solution);
Microsoft.VisualStudio.LanguageServices.DevKit (1)
EditAndContinue\LspSolutionSnapshotProvider.cs (1)
31var id = await InvokeAsync((service, cancellationToken) => service.RegisterSolutionSnapshotAsync(cancellationToken), cancellationToken).ConfigureAwait(false);