Skip to content

Commit b5bb260

Browse files
committed
Use newer Roslyn API
Fixes #9676
1 parent 57805ed commit b5bb260

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Properties/StartupObjectsEnumProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public async Task<ICollection<IEnumValue>> GetListedValuesAsync()
6565

6666
IEntryPointFinderService? entryPointFinderService = project.Services.GetService<IEntryPointFinderService>();
6767

68-
IEnumerable<INamedTypeSymbol>? entryPoints = entryPointFinderService?.FindEntryPoints(compilation.GlobalNamespace, searchForEntryPointsInFormsOnly);
68+
IEnumerable<INamedTypeSymbol>? entryPoints = entryPointFinderService?.FindEntryPoints(compilation, searchForEntryPointsInFormsOnly);
6969

7070
if (entryPoints is not null)
7171
{

src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Properties/VisualBasic/SplashScreenEnumProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public async Task<ICollection<IEnumValue>> GetListedValuesAsync()
6262

6363
IEntryPointFinderService? entryPointFinderService = project.Services.GetService<IEntryPointFinderService>();
6464

65-
IEnumerable<INamedTypeSymbol>? entryPoints = entryPointFinderService?.FindEntryPoints(compilation.GlobalNamespace, searchForEntryPointsInFormsOnly);
65+
IEnumerable<INamedTypeSymbol>? entryPoints = entryPointFinderService?.FindEntryPoints(compilation, searchForEntryPointsInFormsOnly);
6666

6767
if (entryPoints is not null)
6868
{

0 commit comments

Comments
 (0)