From d4b67cb02d54b93adf019ab69ff5748888775721 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Sun, 12 Oct 2025 14:28:23 +1000 Subject: [PATCH] handle abstract interface --- .../Features/CodeEditor/SymbolTooltips/Common.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SharpIDE.Godot/Features/CodeEditor/SymbolTooltips/Common.cs b/src/SharpIDE.Godot/Features/CodeEditor/SymbolTooltips/Common.cs index df0b0ae..60ad9b6 100644 --- a/src/SharpIDE.Godot/Features/CodeEditor/SymbolTooltips/Common.cs +++ b/src/SharpIDE.Godot/Features/CodeEditor/SymbolTooltips/Common.cs @@ -63,9 +63,10 @@ public static partial class SymbolInfoComponents } } - private static void AddAbstractModifier(this RichTextLabel label, ISymbol methodSymbol) + private static void AddAbstractModifier(this RichTextLabel label, ISymbol symbol) { - if (methodSymbol.IsAbstract) + if (symbol is INamedTypeSymbol { TypeKind: TypeKind.Interface }) return; + if (symbol.IsAbstract) { label.PushColor(CachedColors.KeywordBlue); label.AddText("abstract");