1 write to Icon
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Completion\CompletionResultFactory.cs (1)
372Icon = new ImageElement(item.Tags.GetFirstGlyph().ToLSPImageId()),
4 references to Icon
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Protocol\Internal\Efficiency\OptimizedVSCompletionListJsonConverter.cs (4)
102if (vsCompletionItem.Icon != null) 104if (!IconRawJson.TryGetValue(vsCompletionItem.Icon.ImageId, out var jsonString)) 106jsonString = JsonSerializer.Serialize(vsCompletionItem.Icon, options); 107IconRawJson.TryAdd(vsCompletionItem.Icon.ImageId, jsonString);