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
Spec incorrect
Reference: Pre-processing line directive
Production fragment:
fragment PP_Compilation_Unit_Name_Character // Any Input_Character except " : ~('\u000D' | '\u000A' | '\u0085' | '\u2028' | '\u2029' | '#') ;
The above production fragment says that '#' is not allowed for PP_Compilation_Unit_Name_Character. But I can be able to use it (in C# 10) .
Also, the comment states that " can't be used in PP_Compilation_Unit_Name_Character. But it is not mentioned in the grammar.
"
fragment PP_Compilation_Unit_Name : '"' PP_Compilation_Unit_Name_Character+ '"' ;
""
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure
https://github.com/dotnet/csharpstandard/blob/draft-v8/standard/lexical-structure.md
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Type of issue
Spec incorrect
Description
Reference: Pre-processing line directive
Production fragment:
The above production fragment says that '#' is not allowed for PP_Compilation_Unit_Name_Character. But I can be able to use it (in C# 10) .
Also, the comment states that
"
can't be used in PP_Compilation_Unit_Name_Character. But it is not mentioned in the grammar.Production fragment:
""
).Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure
Content source URL
https://github.com/dotnet/csharpstandard/blob/draft-v8/standard/lexical-structure.md
The text was updated successfully, but these errors were encountered: