Skip to content

Commit 25741c8

Browse files
author
Kapil Borle
committed
Remove unused method from AlignAssignmentStatement class
1 parent 07603d0 commit 25741c8

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

Rules/AlignAssignmentStatement.cs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -335,23 +335,5 @@ private bool HasPropertiesOnSeparateLines(IEnumerable<Tuple<IScriptExtent, IScri
335335

336336
return true;
337337
}
338-
339-
private bool HasKeysOnSeparateLines(HashtableAst hashtableAst)
340-
{
341-
var lines = new HashSet<int>();
342-
foreach (var kvp in hashtableAst.KeyValuePairs)
343-
{
344-
if (lines.Contains(kvp.Item1.Extent.StartLineNumber))
345-
{
346-
return false;
347-
}
348-
else
349-
{
350-
lines.Add(kvp.Item1.Extent.StartLineNumber);
351-
}
352-
}
353-
354-
return true;
355-
}
356338
}
357339
}

0 commit comments

Comments
 (0)