Skip to content

Commit

Permalink
Add a comment for why this is written this way
Browse files Browse the repository at this point in the history
I almost tried to refactor this and then caught myself.
  • Loading branch information
jasonmalinowski committed Aug 27, 2018
1 parent b8b7f72 commit 3c5e96d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ namespace Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplore
[Order(Before = HierarchyItemsProviderNames.Contains)]
internal class AnalyzersFolderItemProvider : AttachedCollectionSourceProvider<IVsHierarchyItem>
{
// NOTE: the IComponentModel is used here rather than importing ISolutionExplorerWorkspaceProvider directly
// to avoid loading VisualStudioWorkspace and dependent assemblies directly
private readonly IComponentModel _componentModel;
private readonly IAnalyzersCommandHandler _commandHandler;
private IHierarchyItemToProjectIdMap _projectMap;
Expand Down

0 comments on commit 3c5e96d

Please sign in to comment.