1 implementation of IChecksummedPersistentStorage
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\PersistentStorage\AbstractPersistentStorage.cs (1)
14
internal abstract class AbstractPersistentStorage :
IChecksummedPersistentStorage
19 references to IChecksummedPersistentStorage
Microsoft.CodeAnalysis.Workspaces (19)
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (1)
163
var
storage = await persistentStorageService.GetStorageAsync(solutionKey, cancellationToken).ConfigureAwait(false);
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (2)
62
var
storage = await persistentStorageService.GetStorageAsync(solutionKey, cancellationToken).ConfigureAwait(false);
91
var
storage = await persistentStorageService.GetStorageAsync(solutionKey, cancellationToken).ConfigureAwait(false);
Storage\AbstractPersistentStorageService.cs (6)
25
private
IChecksummedPersistentStorage
? _currentPersistentStorage;
34
protected abstract ValueTask<
IChecksummedPersistentStorage
?> TryOpenDatabaseAsync(SolutionKey solutionKey, string workingFolderPath, string databaseFilePath, IPersistentStorageFaultInjector? faultInjector, CancellationToken cancellationToken);
36
public ValueTask<
IChecksummedPersistentStorage
> GetStorageAsync(SolutionKey solutionKey, CancellationToken cancellationToken)
39
public async ValueTask<
IChecksummedPersistentStorage
> GetStorageAsync(
67
private async ValueTask<
IChecksummedPersistentStorage
> CreatePersistentStorageAsync(
83
private async ValueTask<
IChecksummedPersistentStorage
?> TryCreatePersistentStorageAsync(
Storage\SQLite\v2\SQLitePersistentStorageService.cs (2)
68
protected override ValueTask<
IChecksummedPersistentStorage
?> TryOpenDatabaseAsync(
74
return new((
IChecksummedPersistentStorage
?)null);
Workspace\Host\PersistentStorage\DocumentKey.cs (1)
13
/// Handle that can be used with <see cref="
IChecksummedPersistentStorage
"/> to read data for a
Workspace\Host\PersistentStorage\IChecksummedPersistentStorageService.cs (1)
13
ValueTask<
IChecksummedPersistentStorage
> GetStorageAsync(SolutionKey solutionKey, CancellationToken cancellationToken);
Workspace\Host\PersistentStorage\NoOpPersistentStorage.cs (3)
14
internal sealed class NoOpPersistentStorage(SolutionKey solutionKey) :
IChecksummedPersistentStorage
18
public static
IChecksummedPersistentStorage
GetOrThrow(SolutionKey solutionKey, bool throwOnFailure)
88
public static
IChecksummedPersistentStorage
GetStorageInstance(SolutionKey solutionKey) => new NoOpPersistentStorage(solutionKey);
Workspace\Host\PersistentStorage\NoOpPersistentStorageService.cs (1)
25
public ValueTask<
IChecksummedPersistentStorage
> GetStorageAsync(SolutionKey solutionKey, CancellationToken cancellationToken)
Workspace\Host\PersistentStorage\ProjectKey.cs (1)
11
/// Handle that can be used with <see cref="
IChecksummedPersistentStorage
"/> to read data for a
Workspace\Host\PersistentStorage\SolutionKey.cs (1)
11
/// Handle that can be used with <see cref="
IChecksummedPersistentStorage
"/> to read data for a