1 instantiation of SafeHandleLease
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Extensions\SafeHandleExtensions.cs (1)
36
return new
SafeHandleLease
(handle);
25 references to SafeHandleLease
Microsoft.CodeAnalysis.Workspaces (25)
Shared\Extensions\SafeHandleExtensions.cs (2)
24
/// <returns>A <see cref="
SafeHandleLease
"/>, which must be disposed to release the resource.</returns>
26
public static
SafeHandleLease
Lease(this SafeHandle handle)
Storage\SQLite\Interop\NativeMethods.cs (18)
39
using
var
_ = db.Lease();
62
using
var
_ = db.Lease();
85
using
var
_ = db.Lease();
96
using
var
_ = db.Lease();
102
using
var
_ = db.Lease();
108
using
var
_ = db.Lease();
114
using
var
_ = blob.Lease();
120
using
var
_ = blob.Lease();
126
using
var
_ = stmt.Lease();
132
using
var
_ = stmt.Lease();
138
using
var
_ = stmt.Lease();
148
using
var
_ = stmt.Lease();
154
using
var
_ = stmt.Lease();
160
using
var
_ = stmt.Lease();
166
using
var
_ = stmt.Lease();
172
using
var
_ = stmt.Lease();
178
using
var
_ = stmt.Lease();
184
using
var
_ = stmt.Lease();
Storage\SQLite\Interop\SafeSqliteBlobHandle.cs (2)
15
private readonly
SafeHandleLease
_lease;
16
private readonly
SafeHandleLease
_sqliteLease;
Storage\SQLite\Interop\SafeSqliteHandle.cs (1)
15
private readonly
SafeHandleLease
_lease;
Storage\SQLite\Interop\SafeSqliteStatementHandle.cs (2)
15
private readonly
SafeHandleLease
_lease;
16
private readonly
SafeHandleLease
_sqliteLease;