1 write to _storage
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\RecoverableTextAndVersion.cs (1)
203
Interlocked.CompareExchange(ref
_storage
, storage, null);
6 references to _storage
Microsoft.CodeAnalysis.Workspaces (6)
Workspace\Solution\RecoverableTextAndVersion.cs (6)
173
public ITemporaryTextStorageInternal? Storage =>
_storage
;
177
Contract.ThrowIfNull(
_storage
);
181
return await
_storage
.ReadTextAsync(cancellationToken).ConfigureAwait(false);
187
Contract.ThrowIfNull(
_storage
);
191
return
_storage
.ReadText(cancellationToken);
197
Contract.ThrowIfFalse(
_storage
== null); // Cannot save more than once