1 write to Tag
Microsoft.CodeAnalysis.Features (1)
Common\TaggedText.cs (1)
75Tag = tag ?? throw new ArgumentNullException(nameof(tag));
23 references to Tag
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
QuickInfo\SemanticQuickInfoSourceTests.cs (1)
8370item.Sections.First(section => section.Kind == QuickInfoSectionKinds.DocumentationComments).TaggedParts.Select(p => p.Tag).ToArray(),
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Extensions\ClassificationExtensions.cs (1)
27typeMap.GetClassificationType(part.Tag.ToClassificationTypeName())));
Microsoft.CodeAnalysis.EditorFeatures.Wpf (6)
InlineHints\InlineHintsTag.cs (5)
146if (classify && taggedText.Tag != TextTags.Text) 148var properties = formatMap.GetTextProperties(typeMap.GetClassificationType(taggedText.Tag.ToClassificationTypeName())); 215result.Add(new TaggedText(first.Tag, trimBoth)); 223result.Add(new TaggedText(first.Tag, trimStart)); 231result.Add(new TaggedText(last.Tag, trimEnd));
WpfClassificationExtensions.cs (1)
62p.Tag.ToClassificationTypeName(),
Microsoft.CodeAnalysis.ExternalAccess.Xaml (1)
Internal\DescriptionService.cs (1)
80builder.LastOrDefault().Tag != TextTags.CodeBlockStart)
Microsoft.CodeAnalysis.Features (7)
Common\TaggedText.cs (2)
189var classificationTypeName = part.Tag.ToClassificationTypeName(); 204var classificationTypeName = part.Tag.ToClassificationTypeName();
Common\TextTags.cs (1)
10/// The set of well known text tags used for the <see cref="TaggedText.Tag"/> property.
Completion\CommonCompletionItem.cs (1)
81=> string.Join("|", description.SelectMany(d => new[] { d.Tag, d.Text }).Select(t => t.Escape('\\', s_descriptionSeparators)));
QuickInfo\Presentation\TaggedTextExtensions.cs (3)
39switch (part.Tag) 85part.Tag.ToClassificationTypeName(), 95part.Tag.ToClassificationTypeName(),
Microsoft.CodeAnalysis.Features.UnitTests (1)
FindUsages\DefinitionItemFactoryTests.cs (1)
53$"tag: {Inspect(text.Tag)}, " +
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Extensions\ProtocolConversions.cs (2)
878switch (taggedText.Tag) 976if (!isCode && taggedText.Tag is TextTags.Space or TextTags.ContainerStart)
Handler\InlayHint\InlayHintHandler.cs (3)
123result.Add(new TaggedText(first.Tag, trimBoth)); 131result.Add(new TaggedText(first.Tag, trimStart)); 139result.Add(new TaggedText(last.Tag, trimEnd));
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\Handler\Hover\HoverHandler.cs (1)
90RawContent = new ClassifiedTextElement(descriptionBuilder.Select(tp => new ClassifiedTextRun(tp.Tag.ToClassificationTypeName(), tp.Text)))