1 instantiation of SQLitePersistentStorage
Microsoft.CodeAnalysis.Workspaces (1)
Storage\SQLite\v2\SQLitePersistentStorage.cs (1)
130
var storage = new
SQLitePersistentStorage
(
15 references to SQLitePersistentStorage
Microsoft.CodeAnalysis.Workspaces (15)
Storage\SQLite\v2\AbstractPersistentStorageService+SQLiteTestAccessor.cs (1)
18
(service._currentPersistentStorage as
SQLitePersistentStorage
)?.DatabaseOwnership.Dispose();
Storage\SQLite\v2\Interop\SqlConnection.cs (5)
25
/// cref="
SQLitePersistentStorage
.GetPooledConnection(out SqlConnection)"/>). Connections can be used by different
247
Logger.Log(FunctionId.SQLite_SqlException,
SQLitePersistentStorage
.GetLogMessage(ex));
327
if (length <=
SQLitePersistentStorage
.MaxPooledByteArrayLength)
342
var bytes =
SQLitePersistentStorage
.GetPooledBytes();
354
SQLitePersistentStorage
.ReturnPooledBytes(bytes);
Storage\SQLite\v2\SQLitePersistentStorage.Accessor.cs (2)
30
protected readonly
SQLitePersistentStorage
Storage;
52
SQLitePersistentStorage
storage,
Storage\SQLite\v2\SQLitePersistentStorage.cs (2)
119
public static
SQLitePersistentStorage
? TryCreate(
130
var
storage = new SQLitePersistentStorage(
Storage\SQLite\v2\SQLitePersistentStorage_DocumentSerialization.cs (1)
32
private sealed class DocumentAccessor(
SQLitePersistentStorage
storage) : Accessor<DocumentKey, DocumentPrimaryKey>(Table.Document,
Storage\SQLite\v2\SQLitePersistentStorage_ProjectSerialization.cs (1)
32
private sealed class ProjectAccessor(
SQLitePersistentStorage
storage) : Accessor<ProjectKey, ProjectPrimaryKey>(Table.Project,
Storage\SQLite\v2\SQLitePersistentStorage_SolutionSerialization.cs (1)
33
private sealed class SolutionAccessor(
SQLitePersistentStorage
storage) : Accessor<SolutionKey, SolutionPrimaryKey>(Table.Solution,
Storage\SQLite\v2\SQLitePersistentStorage+PooledConnection.cs (2)
14
private readonly struct PooledConnection(
SQLitePersistentStorage
storage, SqlConnection sqlConnection) : IDisposable
44
throw new InvalidOperationException($"Cannot get a connection to the DB unless running on one of {nameof(
SQLitePersistentStorage
)}'s schedulers");