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
Code Cracker (CC) suggests a wrong applying for "use var instead of":
var
var objects = new Dictionary<int, object>(); object currentValue = objects.TryGetValue(5, out currentValue) ? currentValue : null;
After applying suggestion CC generates code with var that contains compile time error CS0841:
... var currentValue = objects.TryGetValue(5, out currentValue) ? currentValue : null;
In this case I assume that CC doesn't suggest anything (CC0001) for currentValue.
currentValue
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Code Cracker (CC) suggests a wrong applying for "use
var
instead of":After applying suggestion CC generates code with var that contains compile time error CS0841:
In this case I assume that CC doesn't suggest anything (CC0001) for
currentValue
.The text was updated successfully, but these errors were encountered: