Skip to content

Commit 291446b

Browse files
authored
Use ValueTask.FromResult to avoid unnecessarily specifying types (#4397)
1 parent d1cd07c commit 291446b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entity-framework/core/logging-events-diagnostics/interceptors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public class TaggedQueryCommandInterceptor : DbCommandInterceptor
104104
{
105105
ManipulateCommand(command);
106106
107-
return new ValueTask<InterceptionResult<DbDataReader>>(result);
107+
return ValueTask.FromResult(result);
108108
}
109109
110110
private static void ManipulateCommand(DbCommand command)

0 commit comments

Comments
 (0)