Adopt new C# syntax for array init

This commit is contained in:
Gustave Monce
2023-11-26 14:03:46 +01:00
parent 742c89b9bf
commit 96c42a29b5
27 changed files with 129 additions and 133 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ namespace WPinternals
return;
}
switch (args[1].ToLower().TrimStart(new char[] { '-', '/' }))
switch (args[1].ToLower().TrimStart(['-', '/']))
{
#if DEBUG
case "test":