diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2015-12-08 21:43:56 +0300 |
---|---|---|
committer | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2015-12-08 21:43:56 +0300 |
commit | e7985682b38686191d25620b5ade5e7db2fbf838 (patch) | |
tree | baf529355e655a555f5794725f0544538264611b /main/src/addins/MonoDevelop.DocFood | |
parent | d4380ddaa7c2cf802930167f7c89507124b78651 (diff) | |
parent | 7d04547a1abe01391360d74a79672f727c3dcadc (diff) |
Merge remote-tracking branch 'origin/master' into roslyn-nogtkshell
Diffstat (limited to 'main/src/addins/MonoDevelop.DocFood')
-rw-r--r-- | main/src/addins/MonoDevelop.DocFood/MonoDevelop.DocFood/DocGenerator.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.DocFood/MonoDevelop.DocFood/DocGenerator.cs b/main/src/addins/MonoDevelop.DocFood/MonoDevelop.DocFood/DocGenerator.cs index c959063f36..22dfccc500 100644 --- a/main/src/addins/MonoDevelop.DocFood/MonoDevelop.DocFood/DocGenerator.cs +++ b/main/src/addins/MonoDevelop.DocFood/MonoDevelop.DocFood/DocGenerator.cs @@ -877,6 +877,13 @@ namespace MonoDevelop.DocFood void SplitWords (object obj, string name) { + if (obj is ITypeSymbol){ + var type = (ITypeSymbol)obj; + if (type.TypeKind == TypeKind.Interface && name.Length > 1 && name[0] == 'I' && char.IsUpper (name[1])) { + name = name.Substring (1); + } + } + List<string> words = new List<string> (SeparateWords (name).Split (' ')); wordCount = words.Count; for (int i = 0; i < words.Count; i++) { |