Allow pre-processor directives in XML comments #7567
Unanswered
TaffarelJr
asked this question in
Language Ideas
Replies: 2 comments
-
Ok a technical level it would be extremely challenging. These are different trivia structures, so the content would be be split. The XML system would then have to be rewritten to not have everything be contiguous. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Existing discussion: #295 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Currently the lexical specification does not allow elements like pre-processor directives to be interspersed with XML documentation. This means we get compiler errors when trying to do something like this:
I believe it is a valid scenario to want to have specific XML documenation for different platforms when multi-targeting, without having to duplicate entire blocks of XML comments.
What is the feasibility of such a feature being supported?
Beta Was this translation helpful? Give feedback.
All reactions