47 references to Text
Microsoft.AspNetCore.App.Analyzers (2)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (1)
74
ImmutableArray.Create(new TaggedText(TextTags.
Text
, description))));
RouteEmbeddedLanguage\RoutePatternCompletionProvider.cs (1)
68
ImmutableArray.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);
164
new TaggedText(TextTags.
Text
, description)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineHints\InlineHintsTag.cs (1)
146
if (classify && taggedText.Tag != TextTags.
Text
)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (15)
IntelliSense\IntellisenseQuickInfoBuilderTests.vb (15)
46
New TaggedText(TextTags.
Text
, "18"),
48
New TaggedText(TextTags.
Text
, "overloads"),
52
ImmutableArray.Create(New TaggedText(TextTags.
Text
, "Writes the specified string value, followed by the current line terminator, to the standard output stream."))),
56
New TaggedText(TextTags.
Text
, "Exceptions"),
138
New TaggedText(TextTags.
Text
, "18"),
140
New TaggedText(TextTags.
Text
, "overloads"),
145
New TaggedText(TextTags.
Text
, "Exceptions"),
223
New TaggedText(TextTags.
Text
, "18"),
225
New TaggedText(TextTags.
Text
, "overloads"),
230
New TaggedText(TextTags.
Text
, "Documentation line 1."),
232
New TaggedText(TextTags.
Text
, "Documentation line 2."),
235
New TaggedText(TextTags.
Text
, "Documentation paragraph 2."),
237
New TaggedText(TextTags.
Text
, "Documentation paragraph 2 line 2."),
240
New TaggedText(TextTags.
Text
, "Documentation paragraph 3."))),
244
New TaggedText(TextTags.
Text
, "Exceptions"),
Microsoft.CodeAnalysis.Features (18)
Common\SymbolDisplayPartKindTags.cs (1)
65
SymbolDisplayPartKind.Text => TextTags.
Text
,
Common\TaggedText.cs (2)
174
TextTags.AnonymousTypeIndicator or TextTags.
Text
=> ClassificationTypeNames.Text,
300
=> parts.Add(new TaggedText(TextTags.
Text
, text));
Common\TextTags.cs (1)
40
public const string Text = nameof(
Text
);
Completion\CommonCompletionProvider.cs (1)
95
parts = parts.Add(new TaggedText(TextTags.
Text
, note));
Completion\CompletionDescription.cs (1)
42
=> new([new TaggedText(TextTags.
Text
, text)]);
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (2)
105
Builder.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)
227
displayParts: [new TaggedText(TextTags.
Text
, searchTitle)]);
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (2)
242
lineNumber, this.GlobalImportsTitle, [new TaggedText(TextTags.
Text
, this.GlobalImportsTitle)],
271
var 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)
195
new TaggedText(TextTags.
Text
, prefix),
NavigateTo\RoslynNavigateToItem.cs (1)
337
TextTags.
Text
, _item.DeclaredSymbolInfo.Name + _item.DeclaredSymbolInfo.NameSuffix)];
QuickInfo\QuickInfoUtilities.cs (1)
146
AddSection(QuickInfoSectionKinds.NullabilityAnalysis, [new TaggedText(TextTags.
Text
, nullableMessage)]);
SemanticSearch\AbstractSemanticSearchService.cs (1)
301
new TaggedText(tag: TextTags.
Text
, (skippedFrameCount > 0 ? " ..." + Environment.NewLine : "") + GetStackTraceText(displayFrames))
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Extensions\ProtocolConversions.cs (1)
914
case TextTags.
Text
when taggedText.Style == (TaggedTextStyle.Code | TaggedTextStyle.PreserveWhitespace):
Microsoft.CodeAnalysis.VisualBasic.Features (3)
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (2)
197
Return QuickInfoItem.Create(token.Span, sections:=ImmutableArray.Create(QuickInfoSection.Create(QuickInfoSectionKinds.Description, ImmutableArray.Create(New TaggedText(TextTags.
Text
, VBFeaturesResources.Multiple_Types)))))
244
QuickInfoSection.Create(QuickInfoSectionKinds.DocumentationComments, ImmutableArray.Create(New TaggedText(TextTags.
Text
, documentation.DocumentationText)))))
SignatureHelp\AbstractIntrinsicOperatorSignatureHelpProvider.vb (1)
76
documentationFactory:=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)
299
TextTags.
Text
,
FindReferences\VisualStudioDefinitionsAndReferencesFactory.cs (1)
55
return [new TaggedText(TextTags.
Text
, formatted)];
InheritanceMargin\MarginGlyph\InheritanceMarginGlyphViewModel.cs (1)
48
_lazyToolTipTextBlock = new[] { new TaggedText(TextTags.
Text
, member.TopLevelDisplayText) }.ToTextBlock(_classificationFormatMap, _classificationTypeMap);