File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -641,7 +641,7 @@ public async Task Should_work()
641641 } ;
642642 var tasks =
643643 types
644- . Concat ( types . Select ( t => t . Reverse ( ) . ToArray ( ) ) )
644+ . Concat ( types . Select ( ( IEnumerable < Type > t ) => t . Reverse ( ) . ToArray ( ) ) )
645645 . Select ( t=> ( SourceType : sourceType . MakeGenericType ( t [ 0 ] ) , DestinationType : destinationType . MakeGenericType ( t [ 1 ] ) ) )
646646 . ToArray ( )
647647 . Select ( s => Task . Factory . StartNew ( ( ) => c . ResolveTypeMap ( s . SourceType , s . DestinationType ) ) )
@@ -1173,11 +1173,11 @@ public async Task Should_work()
11731173 } ;
11741174 var tasks =
11751175 types
1176- . Concat ( types . Select ( t => t . Reverse ( ) . ToArray ( ) ) )
1176+ . Concat ( types . Select ( ( IEnumerable < Type > t ) => t . Reverse ( ) . ToArray ( ) ) )
11771177 . Select ( t=> ( SourceType : sourceType . MakeGenericType ( t [ 0 ] ) , DestinationType : destinationType . MakeGenericType ( t [ 1 ] ) ) )
11781178 . ToArray ( )
11791179 . Select ( s => Task . Factory . StartNew ( ( ) => mapper . Map ( null , s . SourceType , s . DestinationType ) ) )
11801180 . ToArray ( ) ;
11811181 await Task . WhenAll ( tasks ) ;
11821182 }
1183- }
1183+ }
You can’t perform that action at this time.
0 commit comments