We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Before fix:
public class NumberSizePageFilter { public int PageNumber { get; set; } public int PageSize { get; set; } public NumberSizePageFilter Next() => new NumberSizePageFilter { PageNumber = PageNumber + 1, PageSize = PageSize }; // GCop658 Use compound assignment. }
After fix:
public class NumberSizePageFilter { public int PageNumber { get; set; } public int PageSize { get; set; } public NumberSizePageFilter Next() => new NumberSizePageFilter { PageNumber += 1, PageSize = PageSize }; // CS0747 Invalid initializer member declarator }
which is obviously not compiled.
The text was updated successfully, but these errors were encountered:
Any progress on this?
Sorry, something went wrong.
No branches or pull requests
Before fix:
After fix:
which is obviously not compiled.
The text was updated successfully, but these errors were encountered: