IParameterSymbol.GetDocumentationCommentXml
for primary constructor parameters always return string.Empty
#67858
Unanswered
KyouyamaKazusa0805
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This looks like a bug in Roslyn. If class C
{
/// <param name="str">The parameter</param>
void M(string str) { }
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't know whether this is a bug ... When I use incremental generator to generate for members for primary constructor parameters, I cannot fetch XML doc comments:
I ensure the variable
parameterSymbol
has a correct value, but I don't know whycomment
is""
.Generated source code:
The doc comments of generated members are the default one I have set:
Beta Was this translation helpful? Give feedback.
All reactions