refactor AddType
This commit is contained in:
@@ -32,9 +32,7 @@ public static partial class SymbolInfoComponents
|
||||
|
||||
private static void AddLocalVariableTypeName(this RichTextLabel label, ILocalSymbol symbol)
|
||||
{
|
||||
label.PushColor(GetSymbolColourByType(symbol.Type));
|
||||
label.AddText(symbol.Type.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat));
|
||||
label.Pop();
|
||||
label.AddType(symbol.Type);
|
||||
label.AddText(" ");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user