We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: dotnet/csharplang#4747 Spec: https://github.com/dotnet/csharplang/blob/main/proposals/csharp-10.0/enhanced-line-directives.md
#line (startLine, startChar) - (endLine, endChar) charOffset "fileName"
-langversion
CSharpSyntaxTree.GetLineMappings()
(endLine, endChar) < (startLine, startChar)
#line default
#line hidden
#line number
GetLineMappings()
#line
charOffset
SyntaxNormalizer
CSharpCompiler.ResolveEmbeddedFilesFromExternalSourceDirectives()
ClassifyTrivia()
ClassifyPreprocessorDirective()
CSharpSyntaxFacts.TryGetExternalSourceInfo()
The text was updated successfully, but these errors were encountered:
Closing test plan issue. We can open separate issues if other issues are discovered.
Sorry, something went wrong.
cston
jcouv
No branches or pull requests
Proposal: dotnet/csharplang#4747
Spec: https://github.com/dotnet/csharplang/blob/main/proposals/csharp-10.0/enhanced-line-directives.md
#line (startLine, startChar) - (endLine, endChar) charOffset "fileName"
Parsing
-langversion
Semantics
CSharpSyntaxTree.GetLineMappings()
(endLine, endChar) < (startLine, startChar)
#line default
,#line hidden
,#line number
GetLineMappings()
return default (unmapped) spans after malformed#line
charOffset
with single- and multi-line spansSyntaxNormalizer
CSharpCompiler.ResolveEmbeddedFilesFromExternalSourceDirectives()
Productivity
ClassifyTrivia()
,ClassifyPreprocessorDirective()
#line
CSharpSyntaxFacts.TryGetExternalSourceInfo()
The text was updated successfully, but these errors were encountered: