5 instantiations of FoldingRangeKind
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Protocol\FoldingRangeKind.cs (3)
24
public static readonly FoldingRangeKind Comment =
new
("comment");
29
public static readonly FoldingRangeKind Imports =
new
("imports");
34
public static readonly FoldingRangeKind Region =
new
("region");
Protocol\Internal\VSFoldingRangeKind.cs (1)
22
public static FoldingRangeKind Implementation =
new
("implementation");
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
FoldingRanges\FoldingRangesTests.cs (1)
99
_ =>
new
(kind)
21 references to FoldingRangeKind
Microsoft.CodeAnalysis.LanguageServer.Protocol (17)
Handler\FoldingRanges\FoldingRangesHandler.cs (4)
108
FoldingRangeKind
? foldingRangeKind = span.Type switch
110
BlockTypes.Comment =>
FoldingRangeKind
.Comment,
111
BlockTypes.Imports =>
FoldingRangeKind
.Imports,
112
BlockTypes.PreprocessorRegion =>
FoldingRangeKind
.Region,
Protocol\FoldingRange.cs (4)
83
/// Describes the kind of the folding range such as <see cref="
FoldingRangeKind
.Comment"/>
84
/// or <see cref="
FoldingRangeKind
.Region"/>.
87
/// 'Fold all comments'. See <see cref="
FoldingRangeKind
"/> for an
93
public
FoldingRangeKind
? Kind
Protocol\FoldingRangeKind.cs (5)
17
[JsonConverter(typeof(StringEnumConverter<
FoldingRangeKind
>))]
18
[TypeConverter(typeof(StringEnumConverter<
FoldingRangeKind
>.TypeConverter))]
24
public static readonly
FoldingRangeKind
Comment = new("comment");
29
public static readonly
FoldingRangeKind
Imports = new("imports");
34
public static readonly
FoldingRangeKind
Region = new("region");
Protocol\FoldingRangeKindSet.cs (2)
10
/// A set of <see cref="
FoldingRangeKind
"/> values
25
public
FoldingRangeKind
[]? ValueSet { get; init; }
Protocol\Internal\VSFoldingRangeKind.cs (2)
8
/// Additional to predefined <see cref="
FoldingRangeKind
"/> folding range kinds.
22
public static
FoldingRangeKind
Implementation = new("implementation");
Microsoft.VisualStudio.LanguageServices.Xaml (4)
Implementation\LanguageServer\Handler\FoldingRanges\FoldingRangesHandler.cs (4)
62
XamlStructureTypes.Comment => (
FoldingRangeKind
?)
FoldingRangeKind
.Comment,
63
XamlStructureTypes.Namespaces =>
FoldingRangeKind
.Imports,
64
XamlStructureTypes.Region =>
FoldingRangeKind
.Region,