Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions MSBuildLaunchPad/ParserFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ public static class ParserFactory
public static IParser Parse(string fileName)
{
string extension = Path.GetExtension(fileName);
var n = extension.Length;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use a more descriptive name for naming the variable. How about extensionLenght?


if (extension == ".sln")
{
return new SolutionParser(fileName);
Expand Down