8 references to LspJsonSerializerOptions
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
Handler\CodeActions\CodeActionFixAllResolveHandler.cs (1)
70
var resolveData = JsonSerializer.Deserialize<CodeActionResolveData>((JsonElement)request.Data!, ProtocolConversions.
LspJsonSerializerOptions
);
Handler\CodeActions\CodeActionResolveHandler.cs (1)
101
var resolveData = JsonSerializer.Deserialize<CodeActionResolveData>((JsonElement)request.Data!, ProtocolConversions.
LspJsonSerializerOptions
);
Handler\CodeLens\CodeLensResolveHandler.cs (1)
90
var resolveData = JsonSerializer.Deserialize<CodeLensResolveData>((JsonElement)codeLens.Data, ProtocolConversions.
LspJsonSerializerOptions
);
Handler\Completion\Extensions.cs (1)
55
var resolveData = JsonSerializer.Deserialize<CompletionResolveData>((JsonElement)request.Data, ProtocolConversions.
LspJsonSerializerOptions
);
Handler\InlayHint\InlayHintResolveHandler.cs (1)
85
var resolveData = JsonSerializer.Deserialize<InlayHintResolveData>((JsonElement)inlayHint.Data, ProtocolConversions.
LspJsonSerializerOptions
);
Handler\ServerLifetime\InitializeHandler.cs (1)
44
m["capabilities"] = JsonSerializer.Serialize(serverCapabilities, ProtocolConversions.
LspJsonSerializerOptions
);
RoslynLanguageServer.cs (2)
199
uri = JsonSerializer.Deserialize<Uri>(uriToken, ProtocolConversions.
LspJsonSerializerOptions
);
209
var data = JsonSerializer.Deserialize<DocumentResolveData>(dataToken, ProtocolConversions.
LspJsonSerializerOptions
);