Why do you believe it’s a false-positive/false-negative?
Are you using
SonarQube Cloud?
SonarQube Server / Community Build - which version?
SonarQube for IDE - which IDE/version? - VS
in connected mode with SonarQube Server / Community Build or SonarQube Cloud?
How can we reproduce the problem? Give us a self-contained snippet of code (formatted text, no screenshots)
int bitboard = 0; // FP S3353 - suggestion to add const, which breaks build
bitboard.SetBit(5);
public static int SetBit(this ref int board, int square)
{
return board |= (1UL << square);
}