44 references to QuickInfoSectionKinds
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
QuickInfo\DiagnosticAnalyzerQuickInfoSourceTests.cs (1)
186var description = info?.Sections.FirstOrDefault(s => s.Kind == QuickInfoSectionKinds.Description);
Microsoft.CodeAnalysis.CSharp.Features (1)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (1)
166QuickInfoSection.Create(QuickInfoSectionKinds.Description, new[]
Microsoft.CodeAnalysis.EditorFeatures (4)
IntelliSense\QuickInfo\IntellisenseQuickInfoBuilder.cs (4)
50var descSection = quickInfoItem.Sections.FirstOrDefault(s => s.Kind == QuickInfoSectionKinds.Description); 72var documentationCommentSection = quickInfoItem.Sections.FirstOrDefault(s => s.Kind == QuickInfoSectionKinds.DocumentationComments); 99quickInfoItem.Sections.Where(s => s.Kind is not QuickInfoSectionKinds.Description and not QuickInfoSectionKinds.DocumentationComments)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (12)
QuickInfo\AbstractSemanticQuickInfoSourceTests.cs (12)
76return item => AssertSection(expectedText, item.Sections, QuickInfoSectionKinds.Description, expectedClassifications); 83return item => AssertSection(expectedText, item.Sections, QuickInfoSectionKinds.DocumentationComments, expectedClassifications); 90return item => AssertSection(expectedText, item.Sections, QuickInfoSectionKinds.RemarksDocumentationComments, expectedClassifications); 97return item => AssertSection(expectedText, item.Sections, QuickInfoSectionKinds.ReturnsDocumentationComments, expectedClassifications); 104return item => AssertSection(expectedText, item.Sections, QuickInfoSectionKinds.ValueDocumentationComments, expectedClassifications); 111return item => AssertSection(expectedText, item.Sections, QuickInfoSectionKinds.TypeParameters, expectedClassifications); 118return item => AssertSection(expectedText, item.Sections, QuickInfoSectionKinds.AnonymousTypes, expectedClassifications); 125return item => AssertSection(expectedText, item.Sections, QuickInfoSectionKinds.NullabilityAnalysis, expectedClassifications); 129=> item => AssertSection(string.Empty, item.Sections, QuickInfoSectionKinds.TypeParameters); 135AssertSection(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)
30QuickInfoSectionKinds.Description, 51QuickInfoSectionKinds.DocumentationComments, 54QuickInfoSectionKinds.Exception, 122QuickInfoSectionKinds.Description, 143QuickInfoSectionKinds.Exception, 207QuickInfoSectionKinds.Description, 228QuickInfoSectionKinds.DocumentationComments, 242QuickInfoSectionKinds.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)
51AddSection(QuickInfoSectionKinds.Description, builder.ToImmutable()); 66AddSection(QuickInfoSectionKinds.Description, builder.ToImmutable()); 71AddSection(QuickInfoSectionKinds.Description, mainDescriptionTaggedParts); 75AddSection(QuickInfoSectionKinds.DocumentationComments, docParts); 86AddSection(QuickInfoSectionKinds.RemarksDocumentationComments, builder.ToImmutable()); 95AddSection(QuickInfoSectionKinds.ReturnsDocumentationComments, builder.ToImmutable()); 104AddSection(QuickInfoSectionKinds.ValueDocumentationComments, builder.ToImmutable()); 112AddSection(QuickInfoSectionKinds.TypeParameters, builder.ToImmutable()); 120AddSection(QuickInfoSectionKinds.AnonymousTypes, builder.ToImmutable()); 131AddSection(QuickInfoSectionKinds.Usage, usageTextBuilder.ToImmutable()); 142AddSection(QuickInfoSectionKinds.NullabilityAnalysis, ImmutableArray.Create(new TaggedText(TextTags.Text, nullableMessage))); 146AddSection(QuickInfoSectionKinds.Exception, exceptionsText); 149AddSection(QuickInfoSectionKinds.Captures, capturesText);
Microsoft.CodeAnalysis.VisualBasic.Features (3)
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (3)
196Return QuickInfoItem.Create(token.Span, sections:=ImmutableArray.Create(QuickInfoSection.Create(QuickInfoSectionKinds.Description, ImmutableArray.Create(New TaggedText(TextTags.Text, VBFeaturesResources.Multiple_Types))))) 242QuickInfoSection.Create(QuickInfoSectionKinds.Description, builder.ToTaggedText()), 243QuickInfoSection.Create(QuickInfoSectionKinds.DocumentationComments, ImmutableArray.Create(New TaggedText(TextTags.Text, documentation.DocumentationText)))))