Skip to content

Conversation

@github-actions
Copy link
Contributor

Backport of #12485 to main

/cc @davidwengier

Customer Impact

Regression

  • Yes
  • No

[If yes, specify when the regression was introduced. Provide the PR or commit if known.]

Testing

[How was the fix verified? How was the issue missed previously? What tests were added?]

Risk

[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

@github-actions github-actions bot requested a review from a team as a code owner November 14, 2025 01:16
@davidwengier davidwengier merged commit df56bdb into main Nov 14, 2025
11 checks passed
@davidwengier davidwengier deleted the backport/pr-12485-to-main branch November 14, 2025 01:57
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Nov 14, 2025
davidwengier added a commit that referenced this pull request Nov 19, 2025
Fixes #12276 again
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2633418

Commit-at-a-time is thoroughly recommended. 

Commits 1-4 expose a DocumentExcerpt service that Roslyn can use to
provide nice results in FAR etc., because without the code-gen changes,
the generated code is pretty ugly.
Commit 5 "reverts" #12486, bringing
#12287 back but _without_ any
changes to the code-gen this time, just a new source mapping.
Commit 6 is test baseline updates (only source mappings, no .cs files)
Commit 7 removes the requirement for line pragmas to exactly match
source mappings. I left the rest of the validation though
Commit 8 bumps us to a new Roslyn with the new document excerpt
services.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants