# \[BUG\] "S1116: Remove this empty statement" false positive when using C# 12 collection expressions

**URL:** <https://community.sonarsource.com/t/bug-s1116-remove-this-empty-statement-false-positive-when-using-c-12-collection-expressions/105285>\
**Category:** Report False-positive / False-negative...\
**Tags:** intellij, sonarqube-ide\
**Created:** [November 30, 2023, 2:42pm UTC](https://community.sonarsource.com/t/bug-s1116-remove-this-empty-statement-false-positive-when-using-c-12-collection-expressions/105285 "2023-11-30T14:42:58Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![cristian.ambrosini](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/cristian.ambrosini/32/48593_2.png) [@cristian.ambrosini](https://community.sonarsource.com/u/cristian.ambrosini)\
**Post date:** [December 20, 2023, 12:39pm UTC](https://community.sonarsource.com/t/bug-s1116-remove-this-empty-statement-false-positive-when-using-c-12-collection-expressions/105285/7 "2023-12-20T12:39:43Z")

</div>

Hi @voidpointer,  
A user reported a [similar issue](https://community.sonarsource.com/t/false-positive-of-csharpsquid-s1116/106204/7), and it appears to be fixed by updating to SonarLint version [10.2.0.77238](https://github.com/SonarSource/sonarlint-intellij/releases/tag/10.2.0.77238). Can you confirm?

---

_[View the full topic](https://community.sonarsource.com/t/bug-s1116-remove-this-empty-statement-false-positive-when-using-c-12-collection-expressions/105285)._
