1 write to _storageHandle
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\VersionSource\RecoverableTextAndVersion.cs (1)
198
Interlocked.CompareExchange(ref
_storageHandle
, handle, null);
6 references to _storageHandle
Microsoft.CodeAnalysis.Workspaces (6)
Workspace\Solution\VersionSource\RecoverableTextAndVersion.cs (6)
169
public ITemporaryStorageTextHandle? StorageHandle =>
_storageHandle
;
173
Contract.ThrowIfNull(
_storageHandle
);
177
return await
_storageHandle
.ReadFromTemporaryStorageAsync(cancellationToken).ConfigureAwait(false);
183
Contract.ThrowIfNull(
_storageHandle
);
187
return
_storageHandle
.ReadFromTemporaryStorage(cancellationToken);
193
Contract.ThrowIfFalse(
_storageHandle
== null); // Cannot save more than once