-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Implemented Needs ECMA SpecThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationProposalProposal champion
Milestone
Description
Enhanced #line directives
- Proposed
- Prototype: Done
- Implementation: Done
- Specification: Not Started
Summary
The compiler applies the mapping defined by #line
directives to diagnostic locations and sequence points emitted to the PDB.
Currently only the line number and file path can be mapped while the starting character is inferred from the source code. The proposal is to allow specifying full span mapping.
#line (startLine, startChar) - (endLine, endChar) charOffset "fileName"
Drawbacks
Alternatives
Unresolved questions
Design meetings
yaakov-h, D3-LucaPiombino, hez2010, Unknown6656, AndriySvyryd and 8 moreNTaylorMullen, nmarcel, D3-LucaPiombino, stefanloerwald, TanayParikh and 4 more
Metadata
Metadata
Assignees
Labels
Implemented Needs ECMA SpecThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationProposalProposal champion