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