1 instantiation of QuickInfoSection
Microsoft.CodeAnalysis.Features (1)
QuickInfo\QuickInfoSection.cs (1)
38=> new(kind, taggedParts);
32 references to QuickInfoSection
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
QuickInfo\DiagnosticAnalyzerQuickInfoSourceTests.cs (1)
182var description = info?.Sections.FirstOrDefault(s => s.Kind == QuickInfoSectionKinds.Description);
Microsoft.CodeAnalysis.CSharp.Features (1)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (1)
159QuickInfoSection.Create(QuickInfoSectionKinds.Description,
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
QuickInfo\AbstractSemanticQuickInfoSourceTests.cs (2)
51ImmutableArray<QuickInfoSection> sections, 55var textBlock = sections.FirstOrDefault(tb => tb.Kind == textBlockKind);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (8)
IntelliSense\IntellisenseQuickInfoBuilderTests.vb (8)
29QuickInfoSection.Create( 50QuickInfoSection.Create( 53QuickInfoSection.Create( 121QuickInfoSection.Create( 142QuickInfoSection.Create( 206QuickInfoSection.Create( 227QuickInfoSection.Create( 241QuickInfoSection.Create(
Microsoft.CodeAnalysis.Features (17)
QuickInfo\Presentation\QuickInfoContentBuilder.cs (7)
39using var remainingSections = TemporaryArray<QuickInfoSection>.Empty; 212private static (QuickInfoSection? descriptionSection, QuickInfoSection? documentationCommentsSection) ComputeSections( 214ref TemporaryArray<QuickInfoSection> remainingSections) 216QuickInfoSection? descriptionSection = null; 217QuickInfoSection? documentationCommentsSection = null; 219foreach (var section in quickInfoItem.Sections)
QuickInfo\QuickInfoItem.cs (5)
24/// One or more <see cref="QuickInfoSection"/> describing the item. 26public ImmutableArray<QuickInfoSection> Sections { get; } 38ImmutableArray<QuickInfoSection> sections, 52ImmutableArray<QuickInfoSection> sections = default, 61ImmutableArray<QuickInfoSection> sections,
QuickInfo\QuickInfoSection.cs (2)
33/// Creates a new instance of <see cref="QuickInfoSection"/>. 37public 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)
39using var _1 = ArrayBuilder<QuickInfoSection>.GetInstance(out var sections); 165=> sections.Add(QuickInfoSection.Create(kind, taggedParts));
Microsoft.CodeAnalysis.VisualBasic.Features (3)
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (3)
197Return QuickInfoItem.Create(token.Span, sections:=ImmutableArray.Create(QuickInfoSection.Create(QuickInfoSectionKinds.Description, ImmutableArray.Create(New TaggedText(TextTags.Text, VBFeaturesResources.Multiple_Types))))) 243QuickInfoSection.Create(QuickInfoSectionKinds.Description, builder.ToTaggedText()), 244QuickInfoSection.Create(QuickInfoSectionKinds.DocumentationComments, ImmutableArray.Create(New TaggedText(TextTags.Text, documentation.DocumentationText)))))