Skip to content

Commit bd758ff

Browse files
Copilotstephentoub
andauthored
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>
1 parent d21aa9e commit bd758ff

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/ModelContextProtocol.Core/Server/McpServerImpl.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ public McpServerImpl(ITransport transport, McpServerOptions options, ILoggerFact
5858
Throw.IfNull(transport);
5959
Throw.IfNull(options);
6060

61-
options ??= new();
62-
6361
_sessionTransport = transport;
6462
ServerOptions = options;
6563
Services = serviceProvider;

0 commit comments

Comments
 (0)