4 instantiations of FoldingRangeKind
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Protocol\FoldingRangeKind.cs (3)
24public static readonly FoldingRangeKind Comment = new("comment"); 29public static readonly FoldingRangeKind Imports = new("imports"); 34public static readonly FoldingRangeKind Region = new("region");
Protocol\Internal\VSFoldingRangeKind.cs (1)
22public static FoldingRangeKind Implementation = new("implementation");
17 references to FoldingRangeKind
Microsoft.CodeAnalysis.LanguageServer.Protocol (17)
Handler\FoldingRanges\FoldingRangesHandler.cs (4)
108FoldingRangeKind? foldingRangeKind = span.Type switch 110BlockTypes.Comment => FoldingRangeKind.Comment, 111BlockTypes.Imports => FoldingRangeKind.Imports, 112BlockTypes.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 93public FoldingRangeKind? Kind
Protocol\FoldingRangeKind.cs (5)
17[JsonConverter(typeof(StringEnumConverter<FoldingRangeKind>))] 18[TypeConverter(typeof(StringEnumConverter<FoldingRangeKind>.TypeConverter))] 24public static readonly FoldingRangeKind Comment = new("comment"); 29public static readonly FoldingRangeKind Imports = new("imports"); 34public static readonly FoldingRangeKind Region = new("region");
Protocol\FoldingRangeKindSet.cs (2)
10/// A set of <see cref="FoldingRangeKind"/> values 25public FoldingRangeKind[]? ValueSet { get; init; }
Protocol\Internal\VSFoldingRangeKind.cs (2)
8/// Additional to predefined <see cref="FoldingRangeKind"/> folding range kinds. 22public static FoldingRangeKind Implementation = new("implementation");