Add a new Location.Create overload for external file location with a different mappedLineSpan#64240
Conversation
…different mappedLineSpan Closes dotnet#64236 Proposal details in dotnet#64236 (comment)
Reuse Location constructors and remove FilePath property
|
ping @dotnet/roslyn-compiler for reviews. FYI: This is blocking TypeScript team from moving to a new model of how they report diagnostics with primary/secondary buffer. |
Bumping this. This represents a major change in our script block management and the sooner this change gets merged, the more time we'll have to test this carefully in 17.5. |
|
@dotnet/roslyn-compiler can we get a second pair of eyes on this pr? |
|
Done with review pass (commit 4) |
|
Thanks @AlekseyTs for the review! I applied your feedback in mavasani#3, (I've been piggy-backing on @mavasani's branch). |
Expose non-mapped location constructor
AlekseyTs
left a comment
There was a problem hiding this comment.
LGTM (commit 6). Please squash commit in the process of merging.
Closes #64236
Proposal details in #64236 (comment)