Skip to content

Commit

Permalink
- Fixed the content of <remarks> XML Doc was displayed on method para…
Browse files Browse the repository at this point in the history
…meters or type parameters
  • Loading branch information
wmjordan committed Sep 28, 2018
1 parent f600332 commit 4cac5ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Codist/QuickInfo/CSharpQuickInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ static void RenderXmlReturnsDoc(ISymbol symbol, XElement doc, TextBlock desc, Xm
}

static void RenderXmlRemarksDoc(ISymbol symbol, XElement doc, TextBlock desc, XmlDocRenderer docRenderer) {
if (symbol.Kind == SymbolKind.Parameter || symbol.Kind == SymbolKind.TypeParameter) {
return;
}
var remarks = doc.GetRemarks();
if (remarks != null && remarks.FirstNode != null) {
desc.AppendLine().AppendLine().Append("Remarks", true).Append(": ").AppendLine();
Expand Down

0 comments on commit 4cac5ea

Please sign in to comment.