45 references to Text
Microsoft.CodeAnalysis.CSharp.Features (3)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (3)
162
? new TaggedText(TextTags.
Text
, descriptor.Id, TaggedTextStyle.None, descriptor.HelpLinkUri, descriptor.HelpLinkUri)
163
: new TaggedText(TextTags.
Text
, descriptor.Id);
171
new TaggedText(TextTags.
Text
, description)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineHints\InlineHintsTag.cs (1)
153
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 (19)
Common\SymbolDisplayPartKindTags.cs (1)
65
SymbolDisplayPartKind.Text => TextTags.
Text
,
Common\TaggedText.cs (2)
233
case TextTags.
Text
:
372
=> 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(ImmutableArray.Create(new TaggedText(TextTags.
Text
, text)));
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (2)
106
Builder.Add(new TaggedText(TextTags.
Text
, NormalizeLineEndings(s), Style, NavigationTarget.target, NavigationTarget.hint));
493
: TextTags.
Text
;
EmbeddedLanguages\DateAndTime\DateAndTimeEmbeddedCompletionProvider.cs (1)
235
ImmutableArray.Create(new TaggedText(TextTags.
Text
, description))));
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedCompletionProvider.cs (1)
471
ImmutableArray.Create(new TaggedText(TextTags.
Text
, description))));
FindUsages\AbstractFindUsagesService_FindReferences.cs (1)
228
ImmutableArray.Create(new TaggedText(TextTags.
Text
, searchTitle)));
FindUsages\DefinitionItem.cs (1)
229
new TaggedText(TextTags.
Text
, firstDocument.Project.Name));
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (2)
236
lineNumber, this.GlobalImportsTitle, ImmutableArray.Create(new TaggedText(TextTags.
Text
, this.GlobalImportsTitle)),
259
var taggedText = new TaggedText(TextTags.
Text
, string.Format(FeaturesResources.Directives_from_0, fileName));
InlineHints\AbstractInlineParameterNameHintsService.cs (1)
111
ImmutableArray.Create(new TaggedText(TextTags.
Text
, parameter.Name + ": ")),
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (2)
217
builder.Add(new TaggedText(TextTags.
Text
, FeaturesResources.Returns_colon));
233
builder.Add(new TaggedText(TextTags.
Text
, FeaturesResources.Value_colon));
NavigateTo\RoslynNavigateToItem.cs (1)
346
TextTags.
Text
, _item.DeclaredSymbolInfo.Name + _item.DeclaredSymbolInfo.NameSuffix));
QuickInfo\QuickInfoUtilities.cs (1)
142
AddSection(QuickInfoSectionKinds.NullabilityAnalysis, ImmutableArray.Create(new TaggedText(TextTags.
Text
, nullableMessage)));
Microsoft.CodeAnalysis.VisualBasic.Features (3)
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (2)
196
Return QuickInfoItem.Create(token.Span, sections:=ImmutableArray.Create(QuickInfoSection.Create(QuickInfoSectionKinds.Description, ImmutableArray.Create(New TaggedText(TextTags.
Text
, VBFeaturesResources.Multiple_Types)))))
243
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)
490
ImmutableArray.Create(new TaggedText(TextTags.
Text
, message)));
FindReferences\Contexts\WithReferencesFindUsagesContext.cs (1)
290
TextTags.
Text
,
FindReferences\VisualStudioDefinitionsAndReferencesFactory.cs (1)
69
return ImmutableArray.Create(new TaggedText(TextTags.
Text
, formatted));
InheritanceMargin\MarginGlyph\InheritanceMarginGlyphViewModel.cs (1)
46
_lazyToolTipTextBlock = new[] { new TaggedText(TextTags.
Text
, member.TopLevelDisplayText) }.ToTextBlock(_classificationFormatMap, _classificationTypeMap);