Sonar Community
S1121: False positive for Null-conditional assignment in C# 14
Rules and Languages
Report False-positive / False-negative...
Colin
(Colin)
November 12, 2025, 3:05pm
2
Hey there.
Agreed! It’s already in the backlog. C#14 support is coming soon.
show post in topic
Related topics
Topic
Replies
Views
Activity
csharpsquid:S1121 doesn't have exception for null-coalescing assignment operator
Report False-positive / False-negative...
2
108
August 7, 2025
Using c# null conditional operator breaks the rule analysis
Visual Studio
csharp
5
784
March 3, 2023
CS S1121 FP on async blocks and just parentheses as well
Report False-positive / False-negative...
dotnet
2
66
August 7, 2025
8.45.0.54064 many false positives with "xx is null on at least one execution path"
Report False-positive / False-negative...
7
810
September 21, 2022
C# FP S2259 - implied not null unrecognized
Visual Studio
1
321
November 24, 2023