1 instantiation of SQLitePersistentStorage
Microsoft.CodeAnalysis.Workspaces (1)
Storage\SQLite\v2\SQLitePersistentStorage.cs (1)
130var 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 247Logger.Log(FunctionId.SQLite_SqlException, SQLitePersistentStorage.GetLogMessage(ex)); 327if (length <= SQLitePersistentStorage.MaxPooledByteArrayLength) 342var bytes = SQLitePersistentStorage.GetPooledBytes(); 354SQLitePersistentStorage.ReturnPooledBytes(bytes);
Storage\SQLite\v2\SQLitePersistentStorage.Accessor.cs (2)
30protected readonly SQLitePersistentStorage Storage; 52SQLitePersistentStorage storage,
Storage\SQLite\v2\SQLitePersistentStorage.cs (2)
119public static SQLitePersistentStorage? TryCreate( 130var storage = new SQLitePersistentStorage(
Storage\SQLite\v2\SQLitePersistentStorage_DocumentSerialization.cs (1)
32private sealed class DocumentAccessor(SQLitePersistentStorage storage) : Accessor<DocumentKey, DocumentPrimaryKey>(Table.Document,
Storage\SQLite\v2\SQLitePersistentStorage_ProjectSerialization.cs (1)
32private sealed class ProjectAccessor(SQLitePersistentStorage storage) : Accessor<ProjectKey, ProjectPrimaryKey>(Table.Project,
Storage\SQLite\v2\SQLitePersistentStorage_SolutionSerialization.cs (1)
33private sealed class SolutionAccessor(SQLitePersistentStorage storage) : Accessor<SolutionKey, SolutionPrimaryKey>(Table.Solution,
Storage\SQLite\v2\SQLitePersistentStorage+PooledConnection.cs (2)
14private readonly struct PooledConnection(SQLitePersistentStorage storage, SqlConnection sqlConnection) : IDisposable 44throw new InvalidOperationException($"Cannot get a connection to the DB unless running on one of {nameof(SQLitePersistentStorage)}'s schedulers");