Browse Source

Reduce nesting in CSharpSources.GenerateComment.

pull/818/head
Joao Matos 9 years ago
parent
commit
9aeaf26f89
  1. 5
      src/Generator/Generators/CSharp/CSharpSources.cs

5
src/Generator/Generators/CSharp/CSharpSources.cs

@ -362,9 +362,9 @@ namespace CppSharp.Generators.CSharp @@ -362,9 +362,9 @@ namespace CppSharp.Generators.CSharp
PushBlock(BlockKind.BlockComment);
WriteLine(comment.FullComment.CommentToString(Options.CommentPrefix));
PopBlock();
return;
}
else
{
if (string.IsNullOrWhiteSpace(comment.BriefText))
return;
@ -376,7 +376,6 @@ namespace CppSharp.Generators.CSharp @@ -376,7 +376,6 @@ namespace CppSharp.Generators.CSharp
WriteLine("{0} </summary>", Options.CommentPrefix);
PopBlock();
}
}
public void GenerateInlineSummary(RawComment comment)
{

Loading…
Cancel
Save