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
Product and Version Used: 4.3.0
Before:
class C { void M(bool p, bool q, bool r) { if (r) // Invoke "Invert if (recursively)" here { if (p) { var x = 1; M2(); } if (q) { var x = 2; M2(); } } } void M2() { } }
After:
class C { void M(bool p, bool q, bool r) { if (!r) { return; } if (p) { var x = 1; // compiler error here M2(); } if (!q) { return; } var x = 2; M2(); } void M2() { } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Product and Version Used: 4.3.0
Before:
After:
The text was updated successfully, but these errors were encountered: