Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed Nov 17, 2021
1 parent cccfc1b commit 7dd619b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public IWorkspaceService CreateService(HostWorkspaceServices workspaceServices)
if (_singleton == null)
{
var temporaryStorage = workspaceServices.GetService<ITemporaryStorageService>();
Interlocked.CompareExchange(ref _singleton, new VisualStudioMetadataReferenceManager(workspaceServices.Workspace, _serviceProvider, temporaryStorage), null);
Interlocked.CompareExchange(ref _singleton, new VisualStudioMetadataReferenceManager(_serviceProvider, temporaryStorage), null);
}

return _singleton;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ internal sealed partial class VisualStudioMetadataReferenceManager : IWorkspaceS

private readonly MetadataCache _metadataCache;
private readonly ImmutableArray<string> _runtimeDirectories;
private readonly Workspace _workspace;
private readonly ITemporaryStorageService _temporaryStorageService;

internal IVsXMLMemberIndexService XmlMemberIndexService { get; }
Expand All @@ -53,7 +52,6 @@ internal sealed partial class VisualStudioMetadataReferenceManager : IWorkspaceS
private readonly ReaderWriterLockSlim _readerWriterLock = new();

internal VisualStudioMetadataReferenceManager(
Workspace workspace,
IServiceProvider serviceProvider,
ITemporaryStorageService temporaryStorageService)
{
Expand All @@ -68,7 +66,6 @@ internal VisualStudioMetadataReferenceManager(

FileChangeService = (IVsFileChangeEx)serviceProvider.GetService(typeof(SVsFileChangeEx));
Assumes.Present(FileChangeService);
_workspace = workspace;
_temporaryStorageService = temporaryStorageService;
Assumes.Present(_temporaryStorageService);
}
Expand Down

0 comments on commit 7dd619b

Please sign in to comment.