Fixes implicit array initializers

This commit is contained in:
Kamron Batman 2018-09-14 13:14:20 -07:00
parent 7d3a0ca265
commit fee83ce560
189 changed files with 440 additions and 808 deletions

View file

@ -63,15 +63,13 @@ namespace Server.Misc
public static string[] StartDisallowed => m_StartDisallowed;
public static string[] Disallowed => m_Disallowed;
private static char[] m_Exceptions = new[]
{
private static char[] m_Exceptions = {
' ', '-', '.', '\'', '"', ',', '_', '+', '=', '~', '`', '!', '^', '*', '\\', '/', ';', ':', '<', '>', '[', ']', '{', '}', '?', '|', '(', ')', '%', '$', '&', '#', '@'
};
private static string[] m_StartDisallowed = new string[]{};
private static string[] m_StartDisallowed = {};
private static string[] m_Disallowed = new[]
{
private static string[] m_Disallowed = {
"jigaboo",
"chigaboo",
"wop",