I would like to be able to read XML documentation comments while parsing C# source code using Roslyn.
/// <summary>
/// Documentation...
/// </summary>
I tried setting the ParseDocumentationComments in the ParseOptions, but it doesn't seem to have an effect?
var parseOptions = ParseOptions.Default.WithParseDocumentationComments(true);
SyntaxTree unit = SyntaxTree.ParseFile(file, parseOptions);
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…