Remove obsolete APIs from codebase and standardize MCP diagnostic IDs (#985)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MackinnonBuck <10456961+MackinnonBuck@users.noreply.github.com> Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com> Co-authored-by: Mackinnon Buck <mackinnon.buck@gmail.com> Co-authored-by: jeffhandley <1031940+jeffhandley@users.noreply.github.com> Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
This commit is contained in:
parent
5385c0de67
commit
136755f2be
1 changed files with 663 additions and 2674 deletions
|
|
@ -9,6 +9,14 @@ using System.Xml.Linq;
|
|||
namespace ModelContextProtocol.Analyzers;
|
||||
|
||||
/// <summary>Provides the diagnostic descriptors used by the assembly.</summary>
|
||||
/// <remarks>
|
||||
/// Analyzer diagnostic IDs are in the format MCP### (or MCP1### if ever needed).
|
||||
/// <para>
|
||||
/// Diagnostic IDs cannot be reused if an analyzer is removed.
|
||||
/// This ensures that users do not suppress warnings for new diagnostics with existing
|
||||
/// suppressions that might be left in place from prior uses of the same diagnostic ID.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
internal static class Diagnostics
|
||||
{
|
||||
public static DiagnosticDescriptor InvalidXmlDocumentation { get; } = new(
|
||||
|
|
|
|||
Loading…
Reference in a new issue