1 instantiation of SafeSqliteHandle
Microsoft.CodeAnalysis.Workspaces (1)
Storage\SQLite\Interop\NativeMethods.cs (1)
28return new SafeSqliteHandle(wrapper);
15 references to SafeSqliteHandle
Microsoft.CodeAnalysis.Workspaces (15)
Storage\SQLite\Interop\NativeMethods.cs (7)
16public static SafeSqliteHandle sqlite3_open_v2(string filename, int flags, string? vfs, out Result result) 37public static SafeSqliteStatementHandle sqlite3_prepare_v2(SafeSqliteHandle db, string sql, out Result result) 60public static SafeSqliteBlobHandle sqlite3_blob_open(SafeSqliteHandle db, utf8z sdb, utf8z table, utf8z col, long rowid, int flags, out Result result) 83public static string sqlite3_errmsg(SafeSqliteHandle db) 94public static int sqlite3_extended_errcode(SafeSqliteHandle db) 100public static Result sqlite3_busy_timeout(SafeSqliteHandle db, int ms) 106public static long sqlite3_last_insert_rowid(SafeSqliteHandle db)
Storage\SQLite\Interop\SafeSqliteBlobHandle.cs (1)
18public SafeSqliteBlobHandle(SafeSqliteHandle sqliteHandle, sqlite3_blob? wrapper)
Storage\SQLite\Interop\SafeSqliteStatementHandle.cs (1)
18public SafeSqliteStatementHandle(SafeSqliteHandle sqliteHandle, sqlite3_stmt? wrapper)
Storage\SQLite\v2\Interop\SqlConnection.cs (6)
65private readonly SafeSqliteHandle _handle; 100var handle = NativeMethods.sqlite3_open_v2(databasePath, (int)flags, vfs: null, out var result); 153private SqlConnection(SafeSqliteHandle handle, Dictionary<string, SqlStatement> queryToStatement) 162using var _ = _handle; 436public static void ThrowIfNotOk(SafeSqliteHandle handle, Result result) 447public static void Throw(SafeSqliteHandle handle, Result result)