Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 2, 2026

Updated AsyncFixer from 1.6.0 to 2.1.0.

Release notes

Sourced from AsyncFixer's releases.

2.1.0

  • AsyncFixer01: Add support for analyzing and fixing async local functions.
  • AsyncFixer01: Detect unnecessary async in methods with terminal awaits in all if-else branches.
  • AsyncFixer04: Detect fire-and-forget async calls in using var declarations (C# 8.0+) and warn when a task is returned from a using scope without being awaited. The disposable resource will be disposed before the returned task completes. (#​13)
  • AsyncFixer04: Fix false positive when task is assigned to a variable and awaited later within the same using block (e.g., await Task.WhenAny(task, ...)).
  • AsyncFixer06: Fix false positive for Assert.ThrowsAsync and similar assertion methods where discarding the Task<T> result is intentional.
  • AsyncFixer03: Add test coverage for event handlers using Action<T> delegates. (#​16)
  • Improve diagnostic messages and README for better AI assistant compatibility.
  • AsyncFixer06: New analyzer to detect implicit Task<T> to Task conversion in non-async lambdas. Unlike async lambdas which produce compiler error CS8031, non-async lambdas silently discard the result. (#​26)
  • AsyncFixer01: Fix false positive with await foreach statements. (#​41)
  • AsyncFixer01: Fix false positives for ValueTask<T> return types.
  • AsyncFixer02: Fix false positive with nameof(Task.Result). (#​30)
  • AsyncFixer02: Fix false positive after Task.WhenAll - accessing .Result on awaited WhenAll tasks is safe.
  • AsyncFixer02: Fix false positives in synchronous local functions and lambdas inside async methods.
  • AsyncFixer03: Fix false positive with generic EventArgs types. (#​39)
  • AsyncFixer05: Fix false positive with TaskTupleAwaiter and similar custom awaiters. (#​31)
  • AsyncFixer05: Detect nested Task in return statements. (#​27)
  • Code Fix: Correct nested invocation handling in Fix All operations. (#​37)
  • Code Fix: Add parentheses when async conversion is followed by member access. (#​38)
  • Upgrade Microsoft.CodeAnalysis to v4.8.0.

Nuget package

https://www.nuget.org/packages/AsyncFixer/2.1.0

Visual Studio 2022-2026 Extension

Updated with v2.1.0: https://marketplace.visualstudio.com/items?itemName=SemihOkur.AsyncFixer2022

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: AsyncFixer
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 2, 2026

Labels

The following labels could not be found: dependencies, dotnet. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 2, 2026

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 4, 2026

Looks like AsyncFixer is no longer updatable, so this is no longer needed.

@dependabot dependabot bot closed this Jan 4, 2026
@dependabot dependabot bot deleted the dependabot/nuget/AsyncFixer-2.1.0 branch January 4, 2026 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant