Skip to content

Rename MCPEXP002 subclassing constants to reflect C# extensibility APIs #1736

Description

@PranavSenthilnathan

Summary

Rename the internal Experimentals constants associated with MCPEXP002 so their names and documentation reflect the diagnostic's actual scope: experimental extensibility points in the C# SDK implementation, not only subclassing.

Background

MCPEXP002 currently covers SDK-specific extensibility APIs including subclassing, custom request handlers, alternate handlers and filters, outgoing request interception, and routing metadata. Its shared constants remain named Subclassing_DiagnosticId, Subclassing_Message, and Subclassing_Url, which is misleading for APIs unrelated to subclassing.

Proposed change

  • Rename the shared constants to names such as Extensibility_DiagnosticId, Extensibility_Message, and Extensibility_Url.
  • Update XML documentation to describe MCPEXP002 consistently as experimental extensibility points in the C# implementation.
  • Update references without changing the diagnostic ID or suppression behavior.
  • Revise diagnostic documentation if it overemphasizes subclassing.

This is an internal naming and documentation cleanup. Consumers will continue suppressing MCPEXP002 as before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions