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. 90if (_workspace is null) 99Contract.ThrowIfNull(_workspace); 108var result = await provider.GetGeneratedFileAsync(_workspace, sourceWorkspace, sourceProject, symbol, signaturesOnly, options, providerTempPath, telemetryMessage, cancellationToken).ConfigureAwait(false); 171var workspace = _workspace; 195var workspace = _workspace; 216var workspace = _workspace; 258Contract.ThrowIfNull(_workspace); 300public Workspace? TryGetWorkspace() => _workspace;