Removes redundant delegate type declarations

This commit is contained in:
Kamron Batman 2018-09-14 14:32:04 -07:00
parent 3c9842ee5a
commit c85b0a740c
317 changed files with 898 additions and 903 deletions

View file

@ -1337,7 +1337,7 @@ namespace Server
public static List<TOutput> CastConvertList<TInput, TOutput>( List<TInput> list ) where TOutput : TInput
{
return list.ConvertAll<TOutput>( new Converter<TInput, TOutput>( delegate( TInput value ) { return (TOutput)value; } ) );
return list.ConvertAll<TOutput>( delegate( TInput value ) { return (TOutput)value; } );
}
public static List<TOutput> SafeConvertList<TInput, TOutput>( List<TInput> list ) where TOutput : class