Skip to content

Commit

Permalink
Rename MSBuildProject to MSBuildProjectInformation
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinCampbell committed Dec 14, 2016
1 parent 968a7ce commit 05ddde6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/OmniSharp.MSBuild/MSBuildProjectSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ Task<object> IProjectSystem.GetProjectModelAsync(string filePath)
}

return Task.FromResult<object>(
new MSBuildProject(projectFileInfo));
new MSBuildProjectInformation(projectFileInfo));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace OmniSharp.Models
{
public class MSBuildProject
public class MSBuildProjectInformation
{
public Guid ProjectGuid { get; set; }
public string Path { get; set; }
Expand All @@ -14,7 +14,7 @@ public class MSBuildProject
public IList<string> SourceFiles { get; set; }
public IList<TargetFramework> TargetFrameworks { get; set; }

public MSBuildProject(ProjectFileInfo projectFileInfo)
public MSBuildProjectInformation(ProjectFileInfo projectFileInfo)
{
AssemblyName = projectFileInfo.AssemblyName;
Path = projectFileInfo.ProjectFilePath;
Expand Down
4 changes: 2 additions & 2 deletions src/OmniSharp.MSBuild/Models/MsBuildWorkspaceInformation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public MsBuildWorkspaceInformation(string solutionFilePath, IEnumerable<ProjectF
Projects = projects
.OrderBy(x => x.AssemblyName)
.Select(p => {
var project = new MSBuildProject(p);
var project = new MSBuildProjectInformation(p);
if (excludeSourceFiles)
{
project.SourceFiles = null;
Expand All @@ -24,6 +24,6 @@ public MsBuildWorkspaceInformation(string solutionFilePath, IEnumerable<ProjectF
}

public string SolutionPath { get; }
public IEnumerable<MSBuildProject> Projects { get; }
public IEnumerable<MSBuildProjectInformation> Projects { get; }
}
}

0 comments on commit 05ddde6

Please sign in to comment.