1 write to Sections
Microsoft.CodeAnalysis.Features (1)
QuickInfo\QuickInfoItem.cs (1)
41
Sections
= sections.IsDefault ? ImmutableArray<QuickInfoSection>.Empty : sections;
18 references to Sections
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
QuickInfo\DiagnosticAnalyzerQuickInfoSourceTests.cs (1)
186
var description = info?.
Sections
.FirstOrDefault(s => s.Kind == QuickInfoSectionKinds.Description);
Microsoft.CodeAnalysis.EditorFeatures (3)
IntelliSense\QuickInfo\IntellisenseQuickInfoBuilder.cs (3)
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.LanguageServer.Protocol (1)
Handler\Hover\ILspHoverResultCreationService.cs (1)
41
var tags = info.
Sections
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\Extensions\SymbolExtensions.cs (1)
60
foreach (var section in quickInfo.
Sections
)