Skip to content

Commit f0153c6

Browse files
Copilotstephentoub
andcommitted
Add clarifying documentation for shared diagnostic ID
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
1 parent f6526ba commit f0153c6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/Common/Experimentals.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ internal static class Experimentals
3939
/// <summary>
4040
/// Diagnostic ID for the experimental MCP Extensions feature.
4141
/// </summary>
42+
/// <remarks>
43+
/// This uses the same diagnostic ID as <see cref="Tasks_DiagnosticId"/> because both
44+
/// Tasks and Extensions are covered by the same MCPEXP001 diagnostic for experimental
45+
/// MCP features. Having separate constants improves code clarity while maintaining a
46+
/// single diagnostic suppression point.
47+
/// </remarks>
4248
public const string Extensions_DiagnosticId = "MCPEXP001";
4349

4450
/// <summary>

0 commit comments

Comments
 (0)