-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
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
Error when binding generic method inside cref when parens and parameters are included in the signature #2189
Comments
I haven't checked but it would also be interesting to see what behavior the VS 2013 VB compiler has for the above repro. |
Given the following code:
VS2013 reports:
VS2015 reports:
VS2013 didn't support method parameter lists at all, so VS2015 behavior looks like an improvement to me. The only warnings reported by VS2015 (they are also reported by VS2013) that might look confusing are:
When a parameter list is specified, the names in the (Of …) part are actually treated as new type parameters rather than as type arguments. That is, they declare new types, which can be referred to in the parameter list. They do not refer to any existing type, for example |
I am not sure what the correct behavior is for the below. But the current behavior certainly seems inconsistent.
The text was updated successfully, but these errors were encountered: