-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Documentation cref
s point to nonexisting classes
#434
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
Comments
Hi @markusweimer , generally Visual Studio warns us when the XML documentation points to something that does not exist -- for that reason I am surprised to hear that there is a problem in this area, since I'd expect the code to not compile. Could you post some examples of this, to let us know where things are going wrong? |
Of course! Here are all the instances I found:
|
This fixes a couple of dangling `cref` in the XML Docs. This commit doesn't contain functional changes to the code. Issue: This closes dotnet#434
Copied from my comment in the pull request:
|
OK, so I played around some more in VS. Many of the However, I cannot do the same in the cases where an Hence, I am not convinced that our builds capture these issues completely. There seem to be three parsers for this, which offer different leniency or ability to resolve ambiguity:
This change seems to be fixing several warnings for parser 1, some for parser 2 (although VS didn't warn about the broken At the same time, we probably should file an issue about how our builds fail to detect some of these broken |
I'll get a pull request in to fix this case with validation during the build. It appears to have been overlooked in the previous work.
The second and third were supposed to be the same, but there is a configuration error that is currently |
This fixes a couple of dangling `cref` in the XML Docs. This commit doesn't contain functional changes to the code. Issue: This closes dotnet#434
This fixes a couple of dangling `cref` in the XML Docs. This commit doesn't contain functional changes to the code. Issue: This closes #434
This fixes a couple of dangling `cref` in the XML Docs. This commit doesn't contain functional changes to the code. Issue: This closes dotnet#434
System information
Issue
cref
elements of XMLDocsThe text was updated successfully, but these errors were encountered: