# C# async methods are not highlighted (red/green) in code coverage

**URL:** <https://community.sonarsource.com/t/c-async-methods-are-not-highlighted-red-green-in-code-coverage/78970>\
**Category:** SonarQube Cloud\
**Tags:** coverage\
**Created:** [December 15, 2022, 12:52pm UTC](https://community.sonarsource.com/t/c-async-methods-are-not-highlighted-red-green-in-code-coverage/78970 "2022-12-15T12:52:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [December 16, 2022, 4:27pm UTC](https://community.sonarsource.com/t/c-async-methods-are-not-highlighted-red-green-in-code-coverage/78970/4 "2022-12-16T16:27:38Z")

</div>

This might also be relevant.

> [@Lines to Cover Does not Include Async Methods?](https://community.sonarsource.com/t/lines-to-cover-does-not-include-async-methods/47290/3):
>
> Got it based on your feedback. I hadn’t looked to see if it could be a Visual Studio problem which is apparently is. Thank you! For anyone else looking: [Visual Studio Feedback](https://developercommunity.visualstudio.com/t/code-coverage-not-working-when-using-async-test-me/717167)

---

_[View the full topic](https://community.sonarsource.com/t/c-async-methods-are-not-highlighted-red-green-in-code-coverage/78970)._
