False positive S1172 Sonar Lint

Note: possible duplicate of this thread?