Thanks to visit codestin.com Credit goes to github.com
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
Using CC 1.0.3:
using System.Linq; class Foo { void M() { var xs = new System.Collections.Generic.List<int>(); xs.Select(x => Func<int>(x)); } object Func<T>(object x) => x; }
After apply suggesting fix, got CS0123 No overload for 'Foo.Func<int>(object)' matches delegate 'Func<int, object>'
No overload for 'Foo.Func<int>(object)' matches delegate 'Func<int, object>'
We should not offer a diagnostic in this situation.
The text was updated successfully, but these errors were encountered:
Bug confirmed. I evolved the description to one that was independent of a specific library.
Sorry, something went wrong.
Fixes code-cracker#930 CC0020 cannot be used when types are declared
9ccc2bb
@giggio I've got a PR for this bug. Let me know if this works for you guys. Feedback welcome.
Merge pull request #1012 from Muppets/CC0020-cannot-be-used
48addde
Fixes #930 CC0020 cannot be used when types are declared
No branches or pull requests
Bug
Using CC 1.0.3:
After apply suggesting fix, got CS0123
No overload for 'Foo.Func<int>(object)' matches delegate 'Func<int, object>'
We should not offer a diagnostic in this situation.
The text was updated successfully, but these errors were encountered: