Open onyxmaster opened 7 months ago
Hi. Thanks for the ErrorProne.NET.
Unfortunately it triggers false positive EPS09 when using target-typed new. It handles "normal" constructors properly, but doesn't work when the type is omitted.
void F(in MyStruct v) { } void G() => F(new());
Hi. Thanks for the ErrorProne.NET.
Unfortunately it triggers false positive EPS09 when using target-typed new. It handles "normal" constructors properly, but doesn't work when the type is omitted.