20 references to Deserialize
Microsoft.AspNetCore.Components.Web (2)
JSComponents\JSComponentInterop.cs (2)
109JsonSerializer.Deserialize<IJSObjectReference>(parameterJsonValue, jsonOptions)), 112JsonSerializer.Deserialize<IJSObjectReference>(parameterJsonValue, jsonOptions)),
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
TargetPickerUi.cs (1)
159var tabsList = tabs.Deserialize<JsonElement[]>();
Microsoft.CodeAnalysis.ExternalAccess.Xaml (2)
External\ResolveDataConversions.cs (2)
24var resolveData = JsonSerializer.Deserialize<DataResolveData>((JsonElement)requestData); 40resolveData = JsonSerializer.Deserialize<DataIdResolveData>(token);
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Handler\CodeActions\CodeActionFixAllResolveHandler.cs (1)
70var resolveData = JsonSerializer.Deserialize<CodeActionResolveData>((JsonElement)request.Data!, ProtocolConversions.LspJsonSerializerOptions);
Handler\CodeActions\CodeActionResolveHandler.cs (1)
101var resolveData = JsonSerializer.Deserialize<CodeActionResolveData>((JsonElement)request.Data!, ProtocolConversions.LspJsonSerializerOptions);
Handler\CodeLens\CodeLensResolveHandler.cs (1)
90var resolveData = JsonSerializer.Deserialize<CodeLensResolveData>((JsonElement)codeLens.Data, ProtocolConversions.LspJsonSerializerOptions);
Handler\Completion\CompletionResolveHandler.cs (1)
128var resolveData = JsonSerializer.Deserialize<DocumentResolveData>((JsonElement)request.Data);
Handler\Completion\Extensions.cs (1)
55var resolveData = JsonSerializer.Deserialize<CompletionResolveData>((JsonElement)request.Data, ProtocolConversions.LspJsonSerializerOptions);
Handler\InlayHint\InlayHintResolveHandler.cs (1)
85var resolveData = JsonSerializer.Deserialize<InlayHintResolveData>((JsonElement)inlayHint.Data, ProtocolConversions.LspJsonSerializerOptions);
Protocol\Converters\ParameterInformationConverter.cs (2)
31parameter.Label = labelElement.Deserialize<SumType<string, Tuple<int, int>>>(options); 37parameter.Documentation = documentationElement.Deserialize<SumType<string, MarkupContent>>(options);
RoslynLanguageServer.cs (2)
199uri = JsonSerializer.Deserialize<Uri>(uriToken, ProtocolConversions.LspJsonSerializerOptions); 209var data = JsonSerializer.Deserialize<DocumentResolveData>(dataToken, ProtocolConversions.LspJsonSerializerOptions);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
CodeActions\CodeActionsTests.cs (2)
94r => JsonSerializer.Deserialize<CodeActionResolveData>((JsonElement)r.Data!, ProtocolConversions.LspJsonSerializerOptions)!.UniqueIdentifier == titlePath[1]); 324return JsonSerializer.Deserialize<CodeActionResolveData>((JsonElement)codeAction.Data!, ProtocolConversions.LspJsonSerializerOptions);
Diagnostics\DiagnosticRegistrationTests.cs (1)
56.Select(r => JsonSerializer.Deserialize<DiagnosticRegistrationOptions>((JsonElement)r.RegisterOptions!, ProtocolConversions.LspJsonSerializerOptions)!);
References\FindAllReferencesHandlerTests.cs (1)
354.SelectMany(r => (List<object>)r).Select(r => JsonSerializer.Deserialize<T>((JsonElement)r, ProtocolConversions.LspJsonSerializerOptions))
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
LspFileChangeWatcherTests.cs (1)
113var registration = JsonSerializer.Deserialize<DidChangeWatchedFilesRegistrationOptions>(registrationJson, ProtocolConversions.LspJsonSerializerOptions)!;