Skip to content

Commit

Permalink
Use ValueTask.FromResult to avoid unnecessarily specifying types (#4397)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKemp authored Jun 23, 2023
1 parent d1cd07c commit 291446b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public class TaggedQueryCommandInterceptor : DbCommandInterceptor
{
ManipulateCommand(command);
return new ValueTask<InterceptionResult<DbDataReader>>(result);
return ValueTask.FromResult(result);
}
private static void ManipulateCommand(DbCommand command)
Expand Down

0 comments on commit 291446b

Please sign in to comment.