jbogard / MediatR.Extensions.Microsoft.DependencyInjection

MediatR extensions for Microsoft.Extensions.DependencyInjection
MIT License
326 stars 90 forks source link

fix: redundant cast #94

Closed ffje closed 3 years ago

ffje commented 3 years ago

as per https://stackoverflow.com/questions/2092811/does-array-toarray-return-the-original-array-if-it-is-the-same-type array cast is redundant

jbogard commented 3 years ago

I have NO idea why that code is what the way it is.