Removes implicit types
This commit is contained in:
parent
33f5e77a24
commit
04b4cfe75b
261 changed files with 1329 additions and 1329 deletions
|
|
@ -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 )
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue