43 references to QuickInfoSectionKinds
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
QuickInfo\DiagnosticAnalyzerQuickInfoSourceTests.cs (1)
182
var description = info?.Sections.FirstOrDefault(s => s.Kind ==
QuickInfoSectionKinds
.Description);
QuickInfo\SemanticQuickInfoSourceTests.cs (1)
8408
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)
75
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.Description, expectedClassifications);
82
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.DocumentationComments, expectedClassifications);
89
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.RemarksDocumentationComments, expectedClassifications);
96
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.ReturnsDocumentationComments, expectedClassifications);
103
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.ValueDocumentationComments, expectedClassifications);
110
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.TypeParameters, expectedClassifications);
117
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.AnonymousTypes, expectedClassifications);
124
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.NullabilityAnalysis, expectedClassifications);
128
=> item => AssertSection(string.Empty, item.Sections,
QuickInfoSectionKinds
.TypeParameters);
134
AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.Usage);
148
=> item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.Exception);
151
=> 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)
223
case
QuickInfoSectionKinds
.Description:
227
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)
54
AddSection(
QuickInfoSectionKinds
.Description, builder.ToImmutable());
69
AddSection(
QuickInfoSectionKinds
.Description, builder.ToImmutable());
74
AddSection(
QuickInfoSectionKinds
.Description, mainDescriptionTaggedParts);
79
AddSection(
QuickInfoSectionKinds
.DocumentationComments, docParts);
95
AddSection(
QuickInfoSectionKinds
.RemarksDocumentationComments, builder.ToImmutable());
104
AddSection(
QuickInfoSectionKinds
.ReturnsDocumentationComments, builder.ToImmutable());
113
AddSection(
QuickInfoSectionKinds
.ValueDocumentationComments, builder.ToImmutable());
121
AddSection(
QuickInfoSectionKinds
.TypeParameters, builder.ToImmutable());
129
AddSection(
QuickInfoSectionKinds
.AnonymousTypes, builder.ToImmutable());
140
AddSection(
QuickInfoSectionKinds
.Usage, usageTextBuilder.ToImmutable());
151
AddSection(
QuickInfoSectionKinds
.NullabilityAnalysis, [new TaggedText(TextTags.Text, nullableMessage)]);
155
AddSection(
QuickInfoSectionKinds
.Exception, exceptionsText);
158
AddSection(
QuickInfoSectionKinds
.Captures, capturesText);
Microsoft.CodeAnalysis.VisualBasic.Features (3)
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (3)
197
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
.Description, builder.ToTaggedText()),
244
QuickInfoSection.Create(
QuickInfoSectionKinds
.DocumentationComments, ImmutableArray.Create(New TaggedText(TextTags.Text, documentation.DocumentationText)))))