I observed a false positive for rule 3928.
Consider the following property:
private string input;
public string Request
{
get => this.input;
set => this.input = value ?? throw new ArgumentNullException(nameof(this.Request));
}
No warning
S3928 violation is reported by Sonar
SonarC# Version 7.15 (build 8572)
thanks @Khaos66 . It will work if you pass nameof(value) - the actual parameter name is value, not Request. And I guess this is what a receiver of ArgumentException would expect, right?
I also wonder, why do you think this is right behaviour?
Yes. My bad!