1 write to _workspace
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\MetadataAsSourceFileService.cs (1)
92
_workspace
= new MetadataAsSourceWorkspace(this, sourceWorkspace.Services.HostServices);
9 references to _workspace
Microsoft.CodeAnalysis.Features (9)
MetadataAsSource\MetadataAsSourceFileService.cs (9)
42
/// A lock to ensure we initialize <see cref="
_workspace
"/> and cleanup stale data only once.
90
if (
_workspace
is null)
99
Contract.ThrowIfNull(
_workspace
);
108
var result = await provider.GetGeneratedFileAsync(
_workspace
, sourceWorkspace, sourceProject, symbol, signaturesOnly, options, providerTempPath, telemetryMessage, cancellationToken).ConfigureAwait(false);
171
var workspace =
_workspace
;
195
var workspace =
_workspace
;
216
var workspace =
_workspace
;
258
Contract.ThrowIfNull(
_workspace
);
300
public Workspace? TryGetWorkspace() =>
_workspace
;