fix error

This commit is contained in:
Matt Parker
2025-07-31 23:10:17 +10:00
parent 7008258e6a
commit 5dc929f97a
3 changed files with 3 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ using Microsoft.VisualStudio.SolutionPersistence.Serializer;
namespace SharpIDE.Application.Features.SolutionDiscovery.VsPersistence;
public class VsPersistenceMapper
public static class VsPersistenceMapper
{
public static async Task<SharpIdeSolutionModel> GetSolutionModel(string solutionFilePath, CancellationToken cancellationToken = default)
{
@@ -40,7 +40,7 @@ public class VsPersistenceMapper
Projects = folderModel.Projects.Select(GetSharpIdeProjectModel).ToList()
};
public static async Task<IntermediateSolutionModel> GetIntermediateModel(string solutionFilePath,
private static async Task<IntermediateSolutionModel> GetIntermediateModel(string solutionFilePath,
CancellationToken cancellationToken = default)
{
var serializer = SolutionSerializers.GetSerializerByMoniker(solutionFilePath);