diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2016-07-29 14:20:54 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2016-07-29 14:20:54 +0300 |
commit | 29afa72c0f1d5aaea6ebfcb6e52cc602db5865ec (patch) | |
tree | 0669c0e2e8b91c586027c0699d608410f59bbc3d /main/src/addins/MonoDevelop.DocFood | |
parent | 6177157a5362b53d263ad23b539baf6382d1f0e3 (diff) |
Fixed 'Bug 42588 - Generated documentation do not includes "returns"
tag for a method that returns a value.'
Only happens for 1 word methods.
Diffstat (limited to 'main/src/addins/MonoDevelop.DocFood')
-rw-r--r-- | main/src/addins/MonoDevelop.DocFood/DocFood.config.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.DocFood/DocFood.config.xml b/main/src/addins/MonoDevelop.DocFood/DocFood.config.xml index 7402d5ba8c..8f99de3c5a 100644 --- a/main/src/addins/MonoDevelop.DocFood/DocFood.config.xml +++ b/main/src/addins/MonoDevelop.DocFood/DocFood.config.xml @@ -346,10 +346,16 @@ </Case> <Case wordCount="1"> <If paramCount="0"> - <Section name="summary">${FirstAsVerb} this instance.</Section> + <Section name="summary">${FirstAsVerb} this instance.</Section> + <IfNot returns="void"> + <Section name="returns">The ${AllWords}.</Section> + </IfNot> </If> <IfNot paramCount="0"> <Section name="summary">${FirstAsVerb} the specified ${ParameterList}.</Section> + <IfNot returns="void"> + <Section name="returns">The ${AllWords}.</Section> + </IfNot> </IfNot> </Case> <Case endsWith="At,Between"> |