Clean up namespaces (#410)

No meaningful code changes, just lots of namespace shuffling to have fewer namespaces and to put things in better namespaces.
This commit is contained in:
Stephen Toub 2025-05-14 14:50:26 -04:00 • committed by GitHub
commit 106ab8064f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 491 additions and 668 deletions

View file

@ -1,4 +1,4 @@
using ModelContextProtocol.Utils;
using ModelContextProtocol;
namespace System.Collections.Generic;

View file

@ -1,4 +1,4 @@
using ModelContextProtocol.Utils;
using ModelContextProtocol;
using System.Buffers;
using System.Runtime.InteropServices;

View file

@ -1,4 +1,4 @@
using ModelContextProtocol.Utils;
using ModelContextProtocol;
namespace System.Net.Http;

View file

@ -1,4 +1,4 @@
using ModelContextProtocol.Utils;
using ModelContextProtocol;
namespace System.Threading.Tasks;

View file

@ -1,4 +1,4 @@
using ModelContextProtocol.Utils;
using ModelContextProtocol;
namespace System.Threading.Tasks;

View file

@ -1,7 +1,7 @@
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
namespace ModelContextProtocol.Utils;
namespace ModelContextProtocol;
/// <summary>Provides helper methods for throwing exceptions.</summary>
internal static class Throw