JetBrains Rider 2026.1 Help

Code inspection: Async method without 'await' operators (async Task method without 'await' operators)

The async modifier is used to allow the await keyword to be used within a method, task, or lambda expression. If an async method does not contain any await operators, it will execute synchronously, just like a regular method.

While this code will compile and run, it is often a sign of an incomplete implementation or a misunderstanding of how async methods work. Since the method will run synchronously, the async modifier is unnecessary and should either be removed, or the method should be updated to actually perform asynchronous operations using await.

public class C { public async void Foo() { var x = async () => { }; } }
public class C { public void Foo() { var x = () => { }; } }

The quick-fix for this inspection removes the async modifier from the method or lambda expression.

11 March 2026