File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ public string ResolveClauses(DynamicParameters p)
48
48
. Union ( new [ ]
49
49
{
50
50
" ( " +
51
- string . Join ( " OR " , this . Where ( a => a . IsInclusive ) . Select ( c => c . Sql ) . ToArray ( ) ) +
51
+ string . Join ( " OR " , this . Where ( a => a . IsInclusive ) . Select ( c => c . Sql ) ) +
52
52
" ) "
53
- } ) . ToArray ( ) ) + _postfix
54
- : _prefix + string . Join ( _joiner , this . Select ( c => c . Sql ) . ToArray ( ) ) + _postfix ;
53
+ } ) ) + _postfix
54
+ : _prefix + string . Join ( _joiner , this . Select ( c => c . Sql ) ) + _postfix ;
55
55
}
56
56
}
57
57
Original file line number Diff line number Diff line change @@ -397,10 +397,10 @@ static void ThrowInvalidChain()
397
397
}
398
398
while ( diving is not null ) ;
399
399
400
- var dynamicParamName = string . Concat ( names . ToArray ( ) ) ;
400
+ var dynamicParamName = string . Concat ( names ) ;
401
401
402
402
// Before we get all emitty...
403
- var lookup = string . Join ( "|" , names . ToArray ( ) ) ;
403
+ var lookup = string . Join ( "|" , names ) ;
404
404
405
405
var cache = CachedOutputSetters < T > . Cache ;
406
406
var setter = ( Action < object , DynamicParameters > ? ) cache [ lookup ] ;
You can’t perform that action at this time.
0 commit comments