Fix CA1865

This commit is contained in:
RoosterDragon
2023-11-15 19:09:09 +00:00
committed by Pavel Penev
parent 9f526610dd
commit 2ea2106eca
4 changed files with 8 additions and 3 deletions

View File

@@ -533,7 +533,7 @@ namespace OpenRA
{
// Append Removal nodes to the result.
// Therefore: we know the remainder of the method deals with a plain node.
if (node.Key.StartsWith("-", StringComparison.Ordinal))
if (node.Key.StartsWith('-'))
{
ret.Add(node);
return;