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

@ -396,7 +396,7 @@ namespace Server.Commands
return ( t == typeofTimeSpan || t.IsDefined( typeofParsable, false ) );
}
private static Type[] m_ParseTypes = new[]{ typeof( string ) };
private static Type[] m_ParseTypes = { typeof( string ) };
private static object[] m_ParseParams = new object[1];
private static object Parse( object o, Type t, string value )
@ -408,8 +408,7 @@ namespace Server.Commands
return method.Invoke( o, m_ParseParams );
}
private static Type[] m_NumericTypes = new[]
{
private static Type[] m_NumericTypes = {
typeof( Byte ), typeof( SByte ),
typeof( Int16 ), typeof( UInt16 ),
typeof( Int32 ), typeof( UInt32 ),