sonar-dotnet
sonar-dotnet copied to clipboard
Fix S3257 FP: Array with target-typed new expressions
Description
FP for S3257 when creating a typed array with target-typed new expressions in the initializer.
Repro steps
_ = new MyRecord[] { new(), new() };
record MyRecord();