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
Version Used: VS 17.6.2
Steps to Reproduce:
.editorconfig
csharp_style_prefer_local_over_anonymous_function = true:warning
Func<int, int> test = (int n) => n * 2;
var test = (int n) => n * 2;
Diagnostic Id: IDE0039
Expected Behavior: IDE0039 should be reported for implicitly typed lambdas (or implicitly typed anonymous functions with a block body).
Actual Behavior: IDE0039 is not reported for implicitly typed lambdas (or implicitly typed anonymous functions with a block body).
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Version Used:
VS 17.6.2
Steps to Reproduce:
.editorconfig
file and setcsharp_style_prefer_local_over_anonymous_function = true:warning
.Func<int, int> test = (int n) => n * 2;
.var test = (int n) => n * 2;
Diagnostic Id:
IDE0039
Expected Behavior:
IDE0039 should be reported for implicitly typed lambdas (or implicitly typed anonymous functions with a block body).
Actual Behavior:
IDE0039 is not reported for implicitly typed lambdas (or implicitly typed anonymous functions with a block body).
The text was updated successfully, but these errors were encountered: