34 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)
7814
item.Sections.First(section => section.Kind ==
QuickInfoSectionKinds
.DocumentationComments).TaggedParts.Select(p => p.Tag).ToArray(),
Microsoft.CodeAnalysis.CSharp.Features (1)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (1)
155
QuickInfoSection.Create(
QuickInfoSectionKinds
.Description,
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (13)
QuickInfo\AbstractSemanticQuickInfoSourceTests.cs (13)
71
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.Description, expectedClassifications);
78
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.DocumentationComments, expectedClassifications);
85
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.RemarksDocumentationComments, expectedClassifications);
92
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.ReturnsDocumentationComments, expectedClassifications);
99
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.ValueDocumentationComments, expectedClassifications);
106
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.TypeParameters, expectedClassifications);
113
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.AnonymousTypes, expectedClassifications);
120
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.NullabilityAnalysis, expectedClassifications);
124
=> item => AssertSection(string.Empty, item.Sections,
QuickInfoSectionKinds
.TypeParameters);
130
AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.Usage);
144
=> item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.Exception);
147
=> item => AssertSection(capturesText, item.Sections,
QuickInfoSectionKinds
.Captures);
153
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.InterceptedBy, expectedClassifications);
Microsoft.CodeAnalysis.Features (18)
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 (14)
50
AddSection(
QuickInfoSectionKinds
.Description, builder.ToImmutable());
65
AddSection(
QuickInfoSectionKinds
.Description, builder.ToImmutable());
70
AddSection(
QuickInfoSectionKinds
.Description, mainDescriptionTaggedParts);
75
AddSection(
QuickInfoSectionKinds
.DocumentationComments, docParts);
88
AddSection(
QuickInfoSectionKinds
.RemarksDocumentationComments, builder.ToImmutable());
97
AddSection(
QuickInfoSectionKinds
.ReturnsDocumentationComments, builder.ToImmutable());
106
AddSection(
QuickInfoSectionKinds
.ValueDocumentationComments, builder.ToImmutable());
114
AddSection(
QuickInfoSectionKinds
.TypeParameters, builder.ToImmutable());
122
AddSection(
QuickInfoSectionKinds
.AnonymousTypes, builder.ToImmutable());
133
AddSection(
QuickInfoSectionKinds
.Usage, usageTextBuilder.ToImmutable());
136
AddSection(
QuickInfoSectionKinds
.NullabilityAnalysis, [new TaggedText(TextTags.Text, nullabilityInfo)]);
148
AddSection(
QuickInfoSectionKinds
.InterceptedBy, builder.ToImmutable());
152
AddSection(
QuickInfoSectionKinds
.Exception, exceptionsText);
155
AddSection(
QuickInfoSectionKinds
.Captures, capturesText);