File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ private async Task<int> InitializeProtocol(int requestedProtocolVersion)
411411 rawVersionInfo = await client . GetStringAsync ( "/json/version" ) . ConfigureAwait ( false ) ;
412412 }
413413
414- var versionInfo = JsonSerializer . Deserialize < DevToolsVersionInfo > ( rawVersionInfo , DevToolsJsonOptions . DevToolsSerializerContext . Default . DevToolsVersionInfo ) ;
414+ var versionInfo = JsonSerializer . Deserialize ( rawVersionInfo , DevToolsJsonOptions . DevToolsSerializerContext . Default . DevToolsVersionInfo ) ;
415415 this . websocketAddress = versionInfo . WebSocketDebuggerUrl ;
416416
417417 if ( requestedProtocolVersion == AutoDetectDevToolsProtocolVersion )
Original file line number Diff line number Diff line change @@ -220,6 +220,6 @@ public override string ToString()
220220 }
221221
222222 [ JsonSerializable ( typeof ( Dictionary < string , object > ) ) ]
223- [ JsonSourceGenerationOptions ( Converters = [ typeof ( ResponseValueJsonConverter ) ] ) ]
223+ [ JsonSourceGenerationOptions ( Converters = [ typeof ( ResponseValueJsonConverter ) ] ) ] // we still need it to make `Object` as `Dictionary`
224224 internal sealed partial class ResponseJsonSerializerContext : JsonSerializerContext ;
225225}
You can’t perform that action at this time.
0 commit comments