1 instantiation of QuickInfoSection
Microsoft.CodeAnalysis.Features (1)
QuickInfo\QuickInfoSection.cs (1)
38
=>
new
(kind, taggedParts);
22 references to QuickInfoSection
Microsoft.CodeAnalysis.CSharp.Features (1)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (1)
155
QuickInfoSection
.Create(QuickInfoSectionKinds.Description,
Microsoft.CodeAnalysis.Features (18)
QuickInfo\Presentation\QuickInfoContentBuilder.cs (8)
40
using var remainingSections = TemporaryArray<
QuickInfoSection
>.Empty;
119
foreach (
var
section in remainingSections)
213
private static (
QuickInfoSection
? descriptionSection,
QuickInfoSection
? documentationCommentsSection) ComputeSections(
215
ref TemporaryArray<
QuickInfoSection
> remainingSections)
217
QuickInfoSection
? descriptionSection = null;
218
QuickInfoSection
? documentationCommentsSection = null;
220
foreach (
var
section in quickInfoItem.Sections)
QuickInfo\QuickInfoItem.cs (5)
24
/// One or more <see cref="
QuickInfoSection
"/> describing the item.
26
public ImmutableArray<
QuickInfoSection
> Sections { get; }
38
ImmutableArray<
QuickInfoSection
> sections,
52
ImmutableArray<
QuickInfoSection
> sections = default,
61
ImmutableArray<
QuickInfoSection
> sections,
QuickInfo\QuickInfoSection.cs (2)
33
/// Creates a new instance of <see cref="
QuickInfoSection
"/>.
37
public static
QuickInfoSection
Create(string? kind, ImmutableArray<TaggedText> taggedParts)
QuickInfo\QuickInfoSectionKinds.cs (1)
8
/// The set of well known kinds used for the <see cref="
QuickInfoSection
.Kind"/> property.
QuickInfo\QuickInfoUtilities.cs (2)
40
using var _1 = ArrayBuilder<
QuickInfoSection
>.GetInstance(out var sections);
167
=> sections.Add(
QuickInfoSection
.Create(kind, taggedParts));
Microsoft.CodeAnalysis.VisualBasic.Features (3)
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (3)
185
Return QuickInfoItem.Create(token.Span, sections:=ImmutableArray.Create(
QuickInfoSection
.Create(QuickInfoSectionKinds.Description, ImmutableArray.Create(New TaggedText(TextTags.Text, VBFeaturesResources.Multiple_Types)))))
231
QuickInfoSection
.Create(QuickInfoSectionKinds.Description, builder.ToTaggedText()),
232
QuickInfoSection
.Create(QuickInfoSectionKinds.DocumentationComments, ImmutableArray.Create(New TaggedText(TextTags.Text, documentation.DocumentationText)))))