Obsolete Roots, Sampling, and Logging surface area per SEP-2577 (#1651)

Co-authored-by: Tarek Mahmoud Sayed <tarekms@ntdev.microsoft.com>
This commit is contained in:
Tarek Mahmoud Sayed 2026-06-22 10:24:50 -07:00 • committed by GitHub
commit 8ddb3cc36f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1368,7 +1368,10 @@ public class McpServerTests : LoggedTest
public override string? NegotiatedProtocolVersion => throw new NotImplementedException();
public override Implementation? ClientInfo => throw new NotImplementedException();
public override IServiceProvider? Services => throw new NotImplementedException();
// McpServer.LoggingLevel is obsolete (SEP-2577) but abstract, so this test double must override it.
#pragma warning disable CS0672 // Member overrides obsolete member
public override LoggingLevel? LoggingLevel => throw new NotImplementedException();
#pragma warning restore CS0672
public override Task SendMessageAsync(JsonRpcMessage message, CancellationToken cancellationToken = default) =>
throw new NotImplementedException();
public override Task RunAsync(CancellationToken cancellationToken = default) =>