Skip to content

Commit edf9392

Browse files
Copilotstephentoub
andcommitted
Remove dead code: options ??= new() after Throw.IfNull(options) in McpServerImpl
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
1 parent 70bb3e5 commit edf9392

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)