Proposal: documentation as part of assembly #8894
Unanswered
bbarry
asked this question in
Language Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if this would actually be a language feature or a compiler option or a convention expressed by source generation...
I was thinking about how the current xml based documentation is rather difficult to interact with because it relies on too many potential failure points:
It would be nice if there was a way to opt in to a documentation mechanism with:
I was thinking something very roughly like:
[Documentation(typeof(GeneratedDocType), MemberKey = namof(TheSyntaxNode))]
and adds another type to the assembly namedGeneratedDocType
containing the implementation to provide the documentation.DocumentationProvider.Lookup(typeof(MyClass))
Beta Was this translation helpful? Give feedback.
All reactions