61 references to GetChecksumAsync
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Host\RemoteWorkspace.cs (1)
67var currentSolutionChecksum = await this.CurrentSolution.State.GetChecksumAsync(cancellationToken).ConfigureAwait(false);
Host\RemoteWorkspace.SolutionCreator.cs (1)
583var currentSolutionChecksum = await incrementalSolutionBuilt.State.GetChecksumAsync(CancellationToken.None).ConfigureAwait(false);
Microsoft.CodeAnalysis.Remote.Workspaces (1)
SolutionAssetStorage.cs (1)
64? await solutionState.GetChecksumAsync(cancellationToken).ConfigureAwait(false)
Microsoft.CodeAnalysis.Workspaces (1)
ExternalAccess\UnitTesting\Api\UnitTestingSolutionExtensions.cs (1)
17=> new UnitTestingChecksumWrapper(await solution.State.GetChecksumAsync(cancellationToken).ConfigureAwait(false));
Roslyn.VisualStudio.Next.UnitTests (57)
Services\AssetProviderTests.cs (3)
75await solution.State.GetChecksumAsync(CancellationToken.None); 103await solution.State.GetChecksumAsync(CancellationToken.None); 114await service.SynchronizeSolutionAssetsAsync(await solution.State.GetChecksumAsync(CancellationToken.None), CancellationToken.None);
Services\ServiceHubServicesTests.cs (22)
58await solution.State.GetChecksumAsync(CancellationToken.None), 59await remoteWorkpace.CurrentSolution.State.GetChecksumAsync(CancellationToken.None)); 103await solution.State.GetChecksumAsync(CancellationToken.None); 136var solutionChecksum = await solution.State.GetChecksumAsync(CancellationToken.None); 192await solution.State.GetChecksumAsync(CancellationToken.None), 193await remoteWorkspace.CurrentSolution.State.GetChecksumAsync(CancellationToken.None)); 198await solution.State.GetChecksumAsync(CancellationToken.None), 199await remoteWorkspace.CurrentSolution.State.GetChecksumAsync(CancellationToken.None)); 221await solution.State.GetChecksumAsync(CancellationToken.None), 222await remoteWorkspace.CurrentSolution.State.GetChecksumAsync(CancellationToken.None)); 229await solution.State.GetChecksumAsync(CancellationToken.None), 230await remoteWorkspace.CurrentSolution.State.GetChecksumAsync(CancellationToken.None)); 237await solution.State.GetChecksumAsync(CancellationToken.None), 238await remoteWorkspace.CurrentSolution.State.GetChecksumAsync(CancellationToken.None)); 266await solution.State.GetChecksumAsync(CancellationToken.None), 267await remoteWorkspace.CurrentSolution.State.GetChecksumAsync(CancellationToken.None)); 277await solution.State.GetChecksumAsync(CancellationToken.None), 278await remoteWorkspace.CurrentSolution.State.GetChecksumAsync(CancellationToken.None)); 288await solution.State.GetChecksumAsync(CancellationToken.None), 289await remoteWorkspace.CurrentSolution.State.GetChecksumAsync(CancellationToken.None)); 378await solution.State.GetChecksumAsync(CancellationToken.None), 379await remoteSolution.State.GetChecksumAsync(CancellationToken.None));
Services\SolutionServiceTests.cs (32)
49var solutionChecksum = await solution.State.GetChecksumAsync(CancellationToken.None); 52Assert.Equal(solutionChecksum, await synched.State.GetChecksumAsync(CancellationToken.None)); 65var solutionChecksum = await solution.State.GetChecksumAsync(CancellationToken.None); 69Assert.Equal(solutionChecksum, await synched.State.GetChecksumAsync(CancellationToken.None)); 89var solutionChecksum = await workspace.CurrentSolution.State.GetChecksumAsync(CancellationToken.None); 118var solutionChecksum = await workspace.CurrentSolution.State.GetChecksumAsync(CancellationToken.None); 141var solutionChecksum = await solution.State.GetChecksumAsync(CancellationToken.None); 348var solutionChecksum = await solution.State.GetChecksumAsync(CancellationToken.None); 411var solutionInfo2 = await assetProvider.CreateSolutionInfoAsync(await solution1.State.GetChecksumAsync(CancellationToken.None), CancellationToken.None); 426var solutionChecksum = await solution.State.GetChecksumAsync(CancellationToken.None); 436Assert.Equal(await givenSolution.State.GetChecksumAsync(CancellationToken.None), await remoteSolution.State.GetChecksumAsync(CancellationToken.None)); 454var solutionChecksum = await solution.State.GetChecksumAsync(CancellationToken.None); 456Assert.Equal(solutionChecksum, await synched.State.GetChecksumAsync(CancellationToken.None)); 476solutionChecksum = await solution.State.GetChecksumAsync(CancellationToken.None); 478Assert.Equal(solutionChecksum, await synched.State.GetChecksumAsync(CancellationToken.None)); 494var solutionChecksum = await solution.State.GetChecksumAsync(CancellationToken.None); 496Assert.Equal(solutionChecksum, await synched.State.GetChecksumAsync(CancellationToken.None)); 504solutionChecksum = await frozenSolution1.State.GetChecksumAsync(CancellationToken.None); 506Assert.Equal(solutionChecksum, await synched.State.GetChecksumAsync(CancellationToken.None)); 513solutionChecksum = await frozenSolution2.State.GetChecksumAsync(CancellationToken.None); 515Assert.Equal(solutionChecksum, await synched.State.GetChecksumAsync(CancellationToken.None)); 535var solutionChecksum = await solution.State.GetChecksumAsync(CancellationToken.None); 538Assert.Equal(solutionChecksum, await syncedFullSolution.State.GetChecksumAsync(CancellationToken.None)); 586var solutionChecksum = await solution.State.GetChecksumAsync(CancellationToken.None); 589Assert.Equal(solutionChecksum, await syncedFullSolution.State.GetChecksumAsync(CancellationToken.None)); 818var solutionChecksum = await solution.State.GetChecksumAsync(CancellationToken.None); 826Assert.Equal(solutionChecksum, await recoveredSolution.State.GetChecksumAsync(CancellationToken.None)); 830var newSolutionChecksum = await newSolution.State.GetChecksumAsync(CancellationToken.None); 836Assert.Equal(newSolutionChecksum, await recoveredNewSolution.State.GetChecksumAsync(CancellationToken.None)); 842Assert.Equal(newSolutionChecksum, await third.State.GetChecksumAsync(CancellationToken.None)); 850await solution.State.GetChecksumAsync(CancellationToken.None);