Skip to content

Commit

Permalink
Merge pull request #52690 from jasonmalinowski/fix-vb-analyzers-node
Browse files Browse the repository at this point in the history
Correctly specify the VB capability
  • Loading branch information
jasonmalinowski authored Apr 26, 2021
2 parents 82afa9b + aec3a5f commit 1d222b7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplore
[Export(typeof(IAttachedCollectionSourceProvider))]
[Name(nameof(AnalyzerItemSourceProvider))]
[Order]
[AppliesToProject("(CSharp | VisualBasic) & !CPS")] // in the CPS case, the Analyzers items are created by the project system
[AppliesToProject("(CSharp | VB) & !CPS")] // in the CPS case, the Analyzers items are created by the project system
internal sealed class AnalyzerItemSourceProvider : AttachedCollectionSourceProvider<AnalyzersFolderItem>
{
[Import(typeof(AnalyzersCommandHandler))]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplore
[Export(typeof(IAttachedCollectionSourceProvider))]
[Name(nameof(AnalyzersFolderItemSourceProvider))]
[Order(Before = HierarchyItemsProviderNames.Contains)]
[AppliesToProject("(CSharp | VisualBasic) & !CPS")] // in the CPS case, the Analyzers folder is created by the project system
[AppliesToProject("(CSharp | VB) & !CPS")] // in the CPS case, the Analyzers folder is created by the project system
internal class AnalyzersFolderItemSourceProvider : AttachedCollectionSourceProvider<IVsHierarchyItem>
{
private readonly IAnalyzersCommandHandler _commandHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplore
[Export(typeof(IAttachedCollectionSourceProvider))]
[Name(nameof(CpsDiagnosticItemSourceProvider))]
[Order]
[AppliesToProject("(CSharp | VisualBasic) & CPS")]
[AppliesToProject("(CSharp | VB) & CPS")]
internal sealed class CpsDiagnosticItemSourceProvider : AttachedCollectionSourceProvider<IVsHierarchyItem>
{
private readonly IAnalyzersCommandHandler _commandHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplore
[Export(typeof(IAttachedCollectionSourceProvider))]
[Name(nameof(LegacyDiagnosticItemSourceProvider))]
[Order]
[AppliesToProject("(CSharp | VisualBasic) & !CPS")]
[AppliesToProject("(CSharp | VB) & !CPS")]
internal sealed class LegacyDiagnosticItemSourceProvider : AttachedCollectionSourceProvider<AnalyzerItem>
{
private readonly IAnalyzersCommandHandler _commandHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplore
[Export(typeof(IAttachedCollectionSourceProvider))]
[Name(nameof(SourceGeneratedFileItemSourceProvider))]
[Order]
[AppliesToProject("CSharp | VisualBasic")]
[AppliesToProject("CSharp | VB")]
internal sealed class SourceGeneratedFileItemSourceProvider : AttachedCollectionSourceProvider<SourceGeneratorItem>
{
private readonly Workspace _workspace;
Expand Down

0 comments on commit 1d222b7

Please sign in to comment.