43 references to QuickInfoSectionKinds
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
QuickInfo\DiagnosticAnalyzerQuickInfoSourceTests.cs (1)
168
var description = info?.Sections.FirstOrDefault(s => s.Kind ==
QuickInfoSectionKinds
.Description);
QuickInfo\SemanticQuickInfoSourceTests.cs (1)
7744
item.Sections.First(section => section.Kind ==
QuickInfoSectionKinds
.DocumentationComments).TaggedParts.Select(p => p.Tag).ToArray(),
Microsoft.CodeAnalysis.CSharp.Features (1)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (1)
159
QuickInfoSection.Create(
QuickInfoSectionKinds
.Description,
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (12)
QuickInfo\AbstractSemanticQuickInfoSourceTests.cs (12)
70
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.Description, expectedClassifications);
77
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.DocumentationComments, expectedClassifications);
84
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.RemarksDocumentationComments, expectedClassifications);
91
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.ReturnsDocumentationComments, expectedClassifications);
98
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.ValueDocumentationComments, expectedClassifications);
105
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.TypeParameters, expectedClassifications);
112
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.AnonymousTypes, expectedClassifications);
119
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.NullabilityAnalysis, expectedClassifications);
123
=> item => AssertSection(string.Empty, item.Sections,
QuickInfoSectionKinds
.TypeParameters);
129
AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.Usage);
143
=> item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.Exception);
146
=> item => AssertSection(capturesText, item.Sections,
QuickInfoSectionKinds
.Captures);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (8)
IntelliSense\IntellisenseQuickInfoBuilderTests.vb (8)
30
QuickInfoSectionKinds
.Description,
51
QuickInfoSectionKinds
.DocumentationComments,
54
QuickInfoSectionKinds
.Exception,
122
QuickInfoSectionKinds
.Description,
143
QuickInfoSectionKinds
.Exception,
207
QuickInfoSectionKinds
.Description,
228
QuickInfoSectionKinds
.DocumentationComments,
242
QuickInfoSectionKinds
.Exception,
Microsoft.CodeAnalysis.Features (17)
QuickInfo\Presentation\QuickInfoContentBuilder.cs (2)
224
case
QuickInfoSectionKinds
.Description:
228
case
QuickInfoSectionKinds
.DocumentationComments:
QuickInfo\QuickInfoSection.cs (2)
17
/// The kind of this section. Use <see cref="
QuickInfoSectionKinds
"/> for the most common kinds.
35
/// <param name="kind">The kind of the section. Use <see cref="
QuickInfoSectionKinds
"/> for the most common kinds.</param>
QuickInfo\QuickInfoUtilities.cs (13)
49
AddSection(
QuickInfoSectionKinds
.Description, builder.ToImmutable());
64
AddSection(
QuickInfoSectionKinds
.Description, builder.ToImmutable());
69
AddSection(
QuickInfoSectionKinds
.Description, mainDescriptionTaggedParts);
74
AddSection(
QuickInfoSectionKinds
.DocumentationComments, docParts);
87
AddSection(
QuickInfoSectionKinds
.RemarksDocumentationComments, builder.ToImmutable());
96
AddSection(
QuickInfoSectionKinds
.ReturnsDocumentationComments, builder.ToImmutable());
105
AddSection(
QuickInfoSectionKinds
.ValueDocumentationComments, builder.ToImmutable());
113
AddSection(
QuickInfoSectionKinds
.TypeParameters, builder.ToImmutable());
121
AddSection(
QuickInfoSectionKinds
.AnonymousTypes, builder.ToImmutable());
132
AddSection(
QuickInfoSectionKinds
.Usage, usageTextBuilder.ToImmutable());
135
AddSection(
QuickInfoSectionKinds
.NullabilityAnalysis, [new TaggedText(TextTags.Text, nullabilityInfo)]);
138
AddSection(
QuickInfoSectionKinds
.Exception, exceptionsText);
141
AddSection(
QuickInfoSectionKinds
.Captures, capturesText);
Microsoft.CodeAnalysis.VisualBasic.Features (3)
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (3)
196
Return QuickInfoItem.Create(token.Span, sections:=ImmutableArray.Create(QuickInfoSection.Create(
QuickInfoSectionKinds
.Description, ImmutableArray.Create(New TaggedText(TextTags.Text, VBFeaturesResources.Multiple_Types)))))
242
QuickInfoSection.Create(
QuickInfoSectionKinds
.Description, builder.ToTaggedText()),
243
QuickInfoSection.Create(
QuickInfoSectionKinds
.DocumentationComments, ImmutableArray.Create(New TaggedText(TextTags.Text, documentation.DocumentationText)))))