Removes implicit types
This commit is contained in:
parent
33f5e77a24
commit
04b4cfe75b
261 changed files with 1329 additions and 1329 deletions
|
|
@ -120,7 +120,7 @@ namespace Server.Commands.Generic
|
|||
"Parse",
|
||||
BindingFlags.Public | BindingFlags.Static,
|
||||
null,
|
||||
new Type[] { typeof( string ), typeof( NumberStyles ) },
|
||||
new[] { typeof( string ), typeof( NumberStyles ) },
|
||||
null
|
||||
);
|
||||
|
||||
|
|
@ -143,7 +143,7 @@ namespace Server.Commands.Generic
|
|||
"Parse",
|
||||
BindingFlags.Public | BindingFlags.Static,
|
||||
null,
|
||||
new Type[] { typeof( string ) },
|
||||
new[] { typeof( string ) },
|
||||
null
|
||||
);
|
||||
|
||||
|
|
@ -279,7 +279,7 @@ namespace Server.Commands.Generic
|
|||
methodName,
|
||||
BindingFlags.Public | BindingFlags.Static,
|
||||
null,
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( string ),
|
||||
typeof( string )
|
||||
|
|
@ -319,7 +319,7 @@ namespace Server.Commands.Generic
|
|||
methodName,
|
||||
BindingFlags.Public | BindingFlags.Instance,
|
||||
null,
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( string )
|
||||
},
|
||||
|
|
@ -494,7 +494,7 @@ namespace Server.Commands.Generic
|
|||
/* name */ "Verify",
|
||||
/* attr */ MethodAttributes.Public | MethodAttributes.Virtual,
|
||||
/* return */ typeof( bool ),
|
||||
/* params */ new Type[] { typeof( object ) } );
|
||||
/* params */ new[] { typeof( object ) } );
|
||||
|
||||
LocalBuilder obj = emitter.CreateLocal( objectType );
|
||||
LocalBuilder eq = emitter.CreateLocal( typeof( bool ) );
|
||||
|
|
@ -531,7 +531,7 @@ namespace Server.Commands.Generic
|
|||
emitter.Method,
|
||||
typeof( IConditional ).GetMethod(
|
||||
"Verify",
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( object )
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ namespace Server.Commands.Generic
|
|||
/* name */ "Compare",
|
||||
/* attr */ MethodAttributes.Public | MethodAttributes.Virtual,
|
||||
/* return */ typeof( int ),
|
||||
/* params */ new Type[] { typeof( object ), typeof( object ) } );
|
||||
/* params */ new[] { typeof( object ), typeof( object ) } );
|
||||
|
||||
LocalBuilder a = emitter.CreateLocal( objectType );
|
||||
LocalBuilder b = emitter.CreateLocal( objectType );
|
||||
|
|
@ -103,7 +103,7 @@ namespace Server.Commands.Generic
|
|||
emitter.Method,
|
||||
typeof( IComparer ).GetMethod(
|
||||
"Compare",
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( object ),
|
||||
typeof( object )
|
||||
|
|
@ -127,7 +127,7 @@ namespace Server.Commands.Generic
|
|||
/* name */ "Equals",
|
||||
/* attr */ MethodAttributes.Public | MethodAttributes.Virtual,
|
||||
/* return */ typeof( bool ),
|
||||
/* params */ new Type[] { typeof( object ), typeof( object ) } );
|
||||
/* params */ new[] { typeof( object ), typeof( object ) } );
|
||||
|
||||
emitter.Generator.Emit( OpCodes.Ldarg_0 );
|
||||
emitter.Generator.Emit( OpCodes.Ldarg_1 );
|
||||
|
|
@ -145,7 +145,7 @@ namespace Server.Commands.Generic
|
|||
emitter.Method,
|
||||
typeof( IEqualityComparer<object> ).GetMethod(
|
||||
"Equals",
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( object ),
|
||||
typeof( object )
|
||||
|
|
@ -163,7 +163,7 @@ namespace Server.Commands.Generic
|
|||
/* name */ "GetHashCode",
|
||||
/* attr */ MethodAttributes.Public | MethodAttributes.Virtual,
|
||||
/* return */ typeof( int ),
|
||||
/* params */ new Type[] { typeof( object ) } );
|
||||
/* params */ new[] { typeof( object ) } );
|
||||
|
||||
LocalBuilder obj = emitter.CreateLocal( objectType );
|
||||
|
||||
|
|
@ -229,7 +229,7 @@ namespace Server.Commands.Generic
|
|||
emitter.Method,
|
||||
typeof( IEqualityComparer<object> ).GetMethod(
|
||||
"GetHashCode",
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( object )
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ namespace Server.Commands.Generic
|
|||
/* name */ "Compare",
|
||||
/* attr */ MethodAttributes.Public | MethodAttributes.Virtual,
|
||||
/* return */ typeof( int ),
|
||||
/* params */ new Type[] { typeof( object ), typeof( object ) } );
|
||||
/* params */ new[] { typeof( object ), typeof( object ) } );
|
||||
|
||||
LocalBuilder a = emitter.CreateLocal( objectType );
|
||||
LocalBuilder b = emitter.CreateLocal( objectType );
|
||||
|
|
@ -148,7 +148,7 @@ namespace Server.Commands.Generic
|
|||
emitter.Method,
|
||||
typeof( IComparer ).GetMethod(
|
||||
"Compare",
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( object ),
|
||||
typeof( object )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue