47 references to Text
Microsoft.AspNetCore.App.Analyzers (2)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (1)
74ImmutableArray.Create(new TaggedText(TextTags.Text, description))));
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (1)
68ImmutableArray.Create(new TaggedText(TextTags.Text, description))));
Microsoft.CodeAnalysis.CSharp.Features (3)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (3)
155? new TaggedText(TextTags.Text, descriptor.Id, TaggedTextStyle.None, descriptor.HelpLinkUri, descriptor.HelpLinkUri) 156: new TaggedText(TextTags.Text, descriptor.Id); 164new TaggedText(TextTags.Text, description)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineHints\InlineHintsTag.cs (1)
146if (classify && taggedText.Tag != TextTags.Text)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (15)
IntelliSense\IntellisenseQuickInfoBuilderTests.vb (15)
46New TaggedText(TextTags.Text, "18"), 48New TaggedText(TextTags.Text, "overloads"), 52ImmutableArray.Create(New TaggedText(TextTags.Text, "Writes the specified string value, followed by the current line terminator, to the standard output stream."))), 56New TaggedText(TextTags.Text, "Exceptions"), 138New TaggedText(TextTags.Text, "18"), 140New TaggedText(TextTags.Text, "overloads"), 145New TaggedText(TextTags.Text, "Exceptions"), 223New TaggedText(TextTags.Text, "18"), 225New TaggedText(TextTags.Text, "overloads"), 230New TaggedText(TextTags.Text, "Documentation line 1."), 232New TaggedText(TextTags.Text, "Documentation line 2."), 235New TaggedText(TextTags.Text, "Documentation paragraph 2."), 237New TaggedText(TextTags.Text, "Documentation paragraph 2 line 2."), 240New TaggedText(TextTags.Text, "Documentation paragraph 3."))), 244New TaggedText(TextTags.Text, "Exceptions"),
Microsoft.CodeAnalysis.Features (18)
Common\SymbolDisplayPartKindTags.cs (1)
65SymbolDisplayPartKind.Text => TextTags.Text,
Common\TaggedText.cs (2)
174TextTags.AnonymousTypeIndicator or TextTags.Text => ClassificationTypeNames.Text, 300=> parts.Add(new TaggedText(TextTags.Text, text));
Common\TextTags.cs (1)
40public const string Text = nameof(Text);
Completion\CommonCompletionProvider.cs (1)
95parts = parts.Add(new TaggedText(TextTags.Text, note));
Completion\CompletionDescription.cs (1)
42=> new([new TaggedText(TextTags.Text, text)]);
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (2)
105Builder.Add(new TaggedText(TextTags.Text, NormalizeLineEndings(s), Style, NavigationTarget.target, NavigationTarget.hint)); 485: TextTags.Text;
EmbeddedLanguages\DateAndTime\DateAndTimeEmbeddedCompletionProvider.cs (1)
236[new TaggedText(TextTags.Text, description)]));
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedCompletionProvider.cs (1)
468[new TaggedText(TextTags.Text, description)]));
FindUsages\AbstractFindUsagesService_FindReferences.cs (1)
227displayParts: [new TaggedText(TextTags.Text, searchTitle)]);
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (2)
242lineNumber, this.GlobalImportsTitle, [new TaggedText(TextTags.Text, this.GlobalImportsTitle)], 271var taggedText = new TaggedText(TextTags.Text, string.Format(FeaturesResources.Directives_from_0, fileName));
InlineHints\AbstractInlineParameterNameHintsService.cs (1)
112[new TaggedText(TextTags.Text, parameter.Name + ": ")],
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
195new TaggedText(TextTags.Text, prefix),
NavigateTo\RoslynNavigateToItem.cs (1)
337TextTags.Text, _item.DeclaredSymbolInfo.Name + _item.DeclaredSymbolInfo.NameSuffix)];
QuickInfo\QuickInfoUtilities.cs (1)
146AddSection(QuickInfoSectionKinds.NullabilityAnalysis, [new TaggedText(TextTags.Text, nullableMessage)]);
SemanticSearch\AbstractSemanticSearchService.cs (1)
301new TaggedText(tag: TextTags.Text, (skippedFrameCount > 0 ? " ..." + Environment.NewLine : "") + GetStackTraceText(displayFrames))
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Extensions\ProtocolConversions.cs (1)
914case TextTags.Text when taggedText.Style == (TaggedTextStyle.Code | TaggedTextStyle.PreserveWhitespace):
Microsoft.CodeAnalysis.VisualBasic.Features (3)
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (2)
197Return QuickInfoItem.Create(token.Span, sections:=ImmutableArray.Create(QuickInfoSection.Create(QuickInfoSectionKinds.Description, ImmutableArray.Create(New TaggedText(TextTags.Text, VBFeaturesResources.Multiple_Types))))) 244QuickInfoSection.Create(QuickInfoSectionKinds.DocumentationComments, ImmutableArray.Create(New TaggedText(TextTags.Text, documentation.DocumentationText)))))
SignatureHelp\AbstractIntrinsicOperatorSignatureHelpProvider.vb (1)
76documentationFactory:=Function(c) SpecializedCollections.SingletonEnumerable(New TaggedText(TextTags.Text, documentation.DocumentationText)),
Microsoft.VisualStudio.LanguageServices (4)
FindReferences\Contexts\AbstractTableDataSourceFindUsagesContext.cs (1)
579[new TaggedText(TextTags.Text, message)]);
FindReferences\Contexts\WithReferencesFindUsagesContext.cs (1)
299TextTags.Text,
FindReferences\VisualStudioDefinitionsAndReferencesFactory.cs (1)
55return [new TaggedText(TextTags.Text, formatted)];
InheritanceMargin\MarginGlyph\InheritanceMarginGlyphViewModel.cs (1)
48_lazyToolTipTextBlock = new[] { new TaggedText(TextTags.Text, member.TopLevelDisplayText) }.ToTextBlock(_classificationFormatMap, _classificationTypeMap);