From 12a409f65c54d2e584ba7b83179d96411ef032e3 Mon Sep 17 00:00:00 2001 From: WMJ Date: Thu, 22 Mar 2018 09:59:06 +0800 Subject: [PATCH] ! Marked inherited interfaces in Super Quick Info --- Codist/Properties/AssemblyInfo.cs | 2 +- Codist/Views/CSharpQuickInfoSourceProvider.cs | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Codist/Properties/AssemblyInfo.cs b/Codist/Properties/AssemblyInfo.cs index 975b8c13..34da2f35 100644 --- a/Codist/Properties/AssemblyInfo.cs +++ b/Codist/Properties/AssemblyInfo.cs @@ -30,4 +30,4 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("2.6.0.0")] -[assembly: AssemblyFileVersion("2.6.0.692")] +[assembly: AssemblyFileVersion("2.6.0.694")] diff --git a/Codist/Views/CSharpQuickInfoSourceProvider.cs b/Codist/Views/CSharpQuickInfoSourceProvider.cs index 69e7c902..3f9117b5 100644 --- a/Codist/Views/CSharpQuickInfoSourceProvider.cs +++ b/Codist/Views/CSharpQuickInfoSourceProvider.cs @@ -813,7 +813,11 @@ void ShowInterfaces(IList output, ITypeSymbol type, int position) { disposable = item; continue; } - stack.Children.Add(ToUIText(item.ToMinimalDisplayParts(_SemanticModel, position))); + var t = ToUIText(item.ToMinimalDisplayParts(_SemanticModel, position)); + if (showAll && type.Interfaces.Contains(item) == false) { + t.AddText(" (inherited)"); + } + stack.Children.Add(t); } if (disposable == null && showAll == false) { foreach (var item in type.AllInterfaces) {