Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 22, 2026

The CS9137 error message incorrectly showed <Features>InterceptorsPreview<Features> with duplicate opening tags instead of a proper closing tag.

Changes:

  • Corrected XML syntax to <Features>InterceptorsPreview</Features> in all three occurrences (error list, detailed description, and explanation sections)

Before:

<Features>InterceptorsPreview<Features>

After:

<Features>InterceptorsPreview</Features>
Original prompt

This section details on the original issue you should resolve

<issue_title>Code is not correct: InterceptorsPreview</issue_title>
<issue_description>### Type of issue

Code doesn't work

Description

The code under the explanation for CS9137 has an incorrect closing tag:

Current:

<Features>InterceptorsPreview<Features>

Should be:

<Features>InterceptorsPreview</Features>

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/source-generator-errors

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/compiler-messages/source-generator-errors.md

Document Version Independent Id

845fd50d-3b2c-033f-05c1-0f9b37d4c512

Platform Id

f7615485-d530-c684-f92a-009bff109bed

Article author

@BillWagner

Metadata

  • ID: 96a59ed5-0be2-639f-bd02-4261709f2faf
  • PlatformId: f7615485-d530-c684-f92a-009bff109bed
  • Service: dotnet-csharp
  • Sub-service: errors-warnings

Related Issues</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: BillWagner <493969+BillWagner@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix incorrect closing tag in Features for CS9137 Fix malformed XML closing tag in CS9137 error documentation Jan 22, 2026
Copilot AI requested a review from BillWagner January 22, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code is not correct: <Features>InterceptorsPreview<Features>

2 participants