9 references to WorkspaceFolder
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Protocol\Converters\InitializeParamsWorkspaceFoldersConverter.cs (4)
27
internal class InitializeParamsWorkspaceFoldersConverter : JsonConverter<
WorkspaceFolder
[]?>
29
public override
WorkspaceFolder
[]? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
31
return JsonSerializer.Deserialize<
WorkspaceFolder
[]>(ref reader, options) ?? [];
34
public override void Write(Utf8JsonWriter writer,
WorkspaceFolder
[]? value, JsonSerializerOptions options)
Protocol\FileOperations\RelativePattern.cs (1)
24
public SumType<
WorkspaceFolder
, Uri> BaseUri { get; init; }
Protocol\FileOperations\WorkspaceFoldersChangeEvent.cs (2)
23
public
WorkspaceFolder
[] Added { get; init; }
30
public
WorkspaceFolder
[] Removed { get; init; }
Protocol\InitializeParams.cs (1)
127
public
WorkspaceFolder
[]? WorkspaceFolders { get; init; }
Protocol\Methods.Workspace.cs (1)
98
public static readonly LspRequest<object?,
WorkspaceFolder
?[]> WorkspaceFolders = new(WorkspaceFoldersName);