Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.
Merged
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
4 changes: 2 additions & 2 deletions DotNetAstGen/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,13 +202,13 @@ private static void _ParseByteCode(string inputPath, DirectoryInfo rootOutputPat
.AsParallel()
.ForAll(inputFile => _SummaryForDLLFile(inputFile, exclusionRegex));
}
else if (File.Exists(inputPath))
else if (File.Exists(inputPath) && Path.GetExtension(inputPath).ToLower() == ".dll")
{
var file = new FileInfo(inputPath);
Debug.Assert(file.Directory != null, "Given file has a null parent directory!");
_SummaryForDLLFile(file, exclusionRegex);
}
else
else if (!File.Exists(inputPath))
{
_logger?.LogError("The path {inputPath} does not exist!", inputPath);
Environment.Exit(1);
Expand Down
Loading