Add docs for ISymbol and its derived interfaces that say that they shoul... - #809
Conversation
…ould not be implemented outside Roslyn
|
Is having this in a remarks section good enough? I don't think anyone will ever see these unless they are reading the source. |
|
I think the question should be: Why is Visual Studios rendering of xml docs that minimal? You can really put a lot of work into them just to be disappointed about the number of tags VS actually supports. Why doesn't the remarks section show up? Why isn't list, code supported? I think that would really improve productivity if the documentation tool tip would support that. I will move that sentence into the summary element when I get home but that really feels like an workaround. |
|
I moved the text into the summary. I might open an issue for better support for advanced xml docs. |
|
@dotnet-bot retest this, please. |
|
@gafter I seem to remember you had an idea for how to address the general problem of tagging/enforcing public interfaces 'for internal implementation only'? |
|
@pharring Yes, and it was not approved either as a language change or as a compiler change. There will be an analyzer that helps enforce it. |
|
Ah, I see it right there on ISymbol: InternalImplementationOnlyAttribute. And it's enforced via an analyzer. |
|
@mattwar Do you prefer this to the version where it was in the remarks section. We will also have an analyzer to "enforce" this. |
|
Once again answering my own question: yes. The unit tests for the analyzer check the derived cases. |
|
❗ I do not think we should be adding a large amount of text to the summary line for commonly used types for a condition that developers would rarely (at best) consider violating. If this was SHFB-style documentation, it would be inside the Regardless of the exact form, I believe this should be in the |
|
It makes me sad to think how little of the information I wrote in the documentation for |
|
@pdelvo Can you please put this back in the section (as described in the corresponding issue)? |
|
I pushed my old version again with the docs being in the remarks section. |
There was a problem hiding this comment.
❓ This interface is internal. Does it still need this note?
|
It's too bad we can't use the |
Add docs for ISymbol and its derived interfaces that say that they shoul...
Dispose workspaces at the end of RunAsync
...d not be implemented outside Roslyn.
Fixes #632.