1 write to Tags
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionItem.cs (1)
196Tags = tags.NullToEmpty();
29 references to Tags
Microsoft.CodeAnalysis.EditorFeatures (4)
IntelliSense\AsyncCompletion\CompletionSource.cs (1)
529var imageId = roslynItem.Tags.GetFirstGlyph().GetImageId();
IntelliSense\AsyncCompletion\FilterSet.cs (2)
144foreach (var tag in item.Tags) 161foreach (var tag in item.Tags)
LanguageServer\EditorLspCompletionResultCreationService.cs (1)
46Icon = new ImageElement(item.Tags.GetFirstGlyph().GetImageId().ToLSPImageId()),
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Completion\AbstractCompletionProviderTests.cs (1)
218if (glyph.HasValue && !c.Tags.SequenceEqual(GlyphTags.GetTags((Glyph)glyph.Value)))
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Completion\FileSystemCompletionHelperTests.cs (1)
21actual.Select(c => $"'{c.DisplayText}', {string.Join(", ", c.Tags)}, '{c.GetProperty(CommonCompletionItem.DescriptionProperty)}'"),
Microsoft.CodeAnalysis.Features (16)
Completion\CommonCompletionService.cs (2)
38=> item.Tags.Contains(WellKnownTags.Keyword); 41=> item.Tags.Contains(WellKnownTags.Snippet);
Completion\CompletionHelper.cs (3)
71=> item.Tags.Contains(WellKnownTags.Keyword); 74=> System.Linq.ImmutableArrayExtensions.SequenceEqual(item1.Tags, item2.Tags);
Completion\CompletionItem.cs (6)
364var newTags = tags.HasValue ? tags.Value : Tags; 376newTags == Tags && 467/// Creates a copy of this <see cref="CompletionItem"/> with the <see cref="Tags"/> property changed. 473/// Creates a copy of this <see cref="CompletionItem"/> with a tag added to the <see cref="Tags"/> collection. 482if (Tags.Contains(tag)) 488return With(tags: Tags.Add(tag));
Completion\CompletionTags.cs (1)
12/// The set of well known tags used for the <see cref="CompletionItem.Tags"/> property.
Completion\Providers\ImportCompletionProvider\ImportCompletionItem.cs (1)
112tags: attributeItem.Tags,
Completion\Providers\UnionCompletionItemComparer.cs (3)
21x is not null && y is not null && x.DisplayText == y.DisplayText && x.Tags.SequenceEqual(y.Tags); 24=> Hash.Combine(obj.DisplayText.GetHashCode(), obj.Tags.Length);
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Completion\AbstractLspCompletionResultCreationService.cs (2)
124lspItem.Kind = GetCompletionKind(item.Tags, capabilityHelper.SupportedItemKinds); 125lspItem.Tags = GetCompletionTags(item.Tags, capabilityHelper.SupportedItemTags);
Microsoft.CodeAnalysis.VisualBasic.Features (5)
Completion\VisualBasicCompletionService.vb (5)
98If keywordCompletionItem IsNot Nothing AndAlso keywordCompletionItem.Tags.Contains(WellKnownTags.Intrinsic) Then 108Return item.Tags = existingItem.Tags OrElse Enumerable.SequenceEqual(item.Tags, existingItem.Tags)