Skip to content

Commit 9717c4e

Browse files
committed
Fix: Allow "using" statements if not at the start of a line.
1 parent 55f60c8 commit 9717c4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ private static bool ShouldIncludeSourceLine(string s)
6060
{
6161
if (string.IsNullOrWhiteSpace(s))
6262
return false;
63+
if (s.StartsWith("using"))
64+
return false;
6365

6466
var trimmed = s.Trim();
6567
if (trimmed.StartsWith("//"))
6668
return false;
6769
if (trimmed.StartsWith("namespace"))
6870
return false;
69-
if (trimmed.StartsWith("using"))
70-
return false;
7171
return true;
7272
}
7373
}

0 commit comments

Comments
 (0)