44 references to QuickInfoSectionKinds
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
QuickInfo\DiagnosticAnalyzerQuickInfoSourceTests.cs (1)
186
var description = info?.Sections.FirstOrDefault(s => s.Kind ==
QuickInfoSectionKinds
.Description);
Microsoft.CodeAnalysis.CSharp.Features (1)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (1)
166
QuickInfoSection.Create(
QuickInfoSectionKinds
.Description, new[]
Microsoft.CodeAnalysis.EditorFeatures (4)
IntelliSense\QuickInfo\IntellisenseQuickInfoBuilder.cs (4)
50
var descSection = quickInfoItem.Sections.FirstOrDefault(s => s.Kind ==
QuickInfoSectionKinds
.Description);
72
var documentationCommentSection = quickInfoItem.Sections.FirstOrDefault(s => s.Kind ==
QuickInfoSectionKinds
.DocumentationComments);
99
quickInfoItem.Sections.Where(s => s.Kind is not
QuickInfoSectionKinds
.Description and not
QuickInfoSectionKinds
.DocumentationComments)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (12)
QuickInfo\AbstractSemanticQuickInfoSourceTests.cs (12)
76
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.Description, expectedClassifications);
83
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.DocumentationComments, expectedClassifications);
90
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.RemarksDocumentationComments, expectedClassifications);
97
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.ReturnsDocumentationComments, expectedClassifications);
104
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.ValueDocumentationComments, expectedClassifications);
111
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.TypeParameters, expectedClassifications);
118
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.AnonymousTypes, expectedClassifications);
125
return item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.NullabilityAnalysis, expectedClassifications);
129
=> item => AssertSection(string.Empty, item.Sections,
QuickInfoSectionKinds
.TypeParameters);
135
AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.Usage);
149
=> item => AssertSection(expectedText, item.Sections,
QuickInfoSectionKinds
.Exception);
152
=> 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 (15)
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)
51
AddSection(
QuickInfoSectionKinds
.Description, builder.ToImmutable());
66
AddSection(
QuickInfoSectionKinds
.Description, builder.ToImmutable());
71
AddSection(
QuickInfoSectionKinds
.Description, mainDescriptionTaggedParts);
75
AddSection(
QuickInfoSectionKinds
.DocumentationComments, docParts);
86
AddSection(
QuickInfoSectionKinds
.RemarksDocumentationComments, builder.ToImmutable());
95
AddSection(
QuickInfoSectionKinds
.ReturnsDocumentationComments, builder.ToImmutable());
104
AddSection(
QuickInfoSectionKinds
.ValueDocumentationComments, builder.ToImmutable());
112
AddSection(
QuickInfoSectionKinds
.TypeParameters, builder.ToImmutable());
120
AddSection(
QuickInfoSectionKinds
.AnonymousTypes, builder.ToImmutable());
131
AddSection(
QuickInfoSectionKinds
.Usage, usageTextBuilder.ToImmutable());
142
AddSection(
QuickInfoSectionKinds
.NullabilityAnalysis, ImmutableArray.Create(new TaggedText(TextTags.Text, nullableMessage)));
146
AddSection(
QuickInfoSectionKinds
.Exception, exceptionsText);
149
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)))))