|
|
|
@ -29,7 +29,8 @@ namespace CppSharp.Generators.CSharp |
|
|
|
break; |
|
|
|
break; |
|
|
|
case CommentKind.BlockCommandComment: |
|
|
|
case CommentKind.BlockCommandComment: |
|
|
|
var blockCommandComment = (BlockCommandComment) comment; |
|
|
|
var blockCommandComment = (BlockCommandComment) comment; |
|
|
|
if (blockCommandComment.CommandKind == CommentCommandKind.Return) |
|
|
|
if (blockCommandComment.CommandKind == CommentCommandKind.Return && |
|
|
|
|
|
|
|
blockCommandComment.ParagraphComment != null) |
|
|
|
{ |
|
|
|
{ |
|
|
|
sections.Add(new Section(CommentElement.Returns)); |
|
|
|
sections.Add(new Section(CommentElement.Returns)); |
|
|
|
blockCommandComment.ParagraphComment.GetCommentSections(sections); |
|
|
|
blockCommandComment.ParagraphComment.GetCommentSections(sections); |
|
|
|
@ -42,8 +43,9 @@ namespace CppSharp.Generators.CSharp |
|
|
|
if (paramCommandComment.Arguments.Count > 0) |
|
|
|
if (paramCommandComment.Arguments.Count > 0) |
|
|
|
param.Attributes.Add( |
|
|
|
param.Attributes.Add( |
|
|
|
string.Format("name=\"{0}\"", paramCommandComment.Arguments[0].Text)); |
|
|
|
string.Format("name=\"{0}\"", paramCommandComment.Arguments[0].Text)); |
|
|
|
foreach (var inlineContentComment in paramCommandComment.ParagraphComment.Content) |
|
|
|
if (paramCommandComment.ParagraphComment != null) |
|
|
|
inlineContentComment.GetCommentSections(sections); |
|
|
|
foreach (var inlineContentComment in paramCommandComment.ParagraphComment.Content) |
|
|
|
|
|
|
|
inlineContentComment.GetCommentSections(sections); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case CommentKind.TParamCommandComment: |
|
|
|
case CommentKind.TParamCommandComment: |
|
|
|
break; |
|
|
|
break; |
|
|
|
|