Skip to content

Conversation

jaredpar
Copy link
Member

@jaredpar jaredpar commented Apr 4, 2025

This is a backport of #11658 to main

* Fix sequence point emitting so we get debug information for content

* Update tests

* Update src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Components/ComponentRuntimeNodeWriter.cs

Co-authored-by: Jan Jones <[email protected]>

* Update src/Compiler/Microsoft.CodeAnalysis.Razor.Compiler/src/Language/Components/ComponentRuntimeNodeWriter.cs

Co-authored-by: Jan Jones <[email protected]>

* Update source generator tests

* Update test comments

* Add multiline test

* Fix test

* Add the ability to diff sequence points in tests
Add some diffs to existing tests

* Baselines 🤦

* Line endings

* Update src/Shared/Microsoft.AspNetCore.Razor.Test.Common/Language/IntegrationTests/RazorBaselineIntegrationTestBase.cs

Co-authored-by: Jan Jones <[email protected]>

* Fix baseline

---------

Co-authored-by: Jan Jones <[email protected]>
@jaredpar jaredpar requested review from a team as code owners April 4, 2025 20:24
@jaredpar
Copy link
Member Author

jaredpar commented Apr 4, 2025

@chsienki, @jjonescz PTAL

@jaredpar jaredpar merged commit 03f14c4 into main Apr 4, 2025
11 checks passed
@jaredpar jaredpar deleted the dev/jaredpar/bp branch April 4, 2025 21:18
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Apr 4, 2025
@davidwengier
Copy link
Member

Nit: This was a forwardport

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.

5 participants