Remove dead code: options ??= new() in McpServerImpl constructor (#1322)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
This commit is contained in:
Copilot 2026-02-19 19:41:35 -08:00 • committed by GitHub
commit bd758ff901
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,8 +58,6 @@ internal sealed partial class McpServerImpl : McpServer
Throw.IfNull(transport);
Throw.IfNull(options);
options ??= new();
_sessionTransport = transport;
ServerOptions = options;
Services = serviceProvider;